Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent panic on prohibited user login with oauth2 (go-gitea#18562)
Backport go-gitea#18562 There was an unfortunate regression in go-gitea#17962 where following detection of the UserProhibitLogin error the err is cast to a pointer by mistake. This causes a panic due to an interface error. Fix go-gitea#18561 Signed-off-by: Andrew Thornton <[email protected]>
- Loading branch information