Fix delete nonexist oauth application 500 and prevent deadlock #15384

Merged
lunny merged 7 commits from lunny/delete_oauth2 into master 2021-04-10 20:49:10 +00:00
Owner

Return 404 when asked to delete OAuth2 Application and ensure that the session is closed too.

Fix #15356

Return 404 when asked to delete OAuth2 Application and ensure that the session is closed too. Fix #15356
zeripath approved these changes 2021-04-10 06:25:55 +00:00
6543 (Migrated from github.com) approved these changes 2021-04-10 06:33:20 +00:00
6543 (Migrated from github.com) reviewed 2021-04-10 14:02:00 +00:00
6543 (Migrated from github.com) commented 2021-04-10 14:01:59 +00:00
Author
Owner
```suggestion ```
6543 (Migrated from github.com) approved these changes 2021-04-10 14:04:05 +00:00
zeripath approved these changes 2021-04-10 15:57:16 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#15384
No description provided.