You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/auth
zeripath 8d31cfbfff
Prevent panic on prohibited user login with oauth2 (#18562) (#18563)
Backport #18562

There was an unfortunate regression in #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 #18561

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
2fa.go Refactor auth package (#17962) 3 years ago
auth.go Support webauthn (#17957) 3 years ago
linkaccount.go Support webauthn (#17957) 3 years ago
main_test.go Refactor auth package (#17962) 3 years ago
oauth.go Prevent panic on prohibited user login with oauth2 (#18562) (#18563) 3 years ago
oauth_test.go Support webauthn (#17957) 3 years ago
openid.go Refactor auth package (#17962) 3 years ago
password.go Refactor auth package (#17962) 3 years ago
webauthn.go Webauthn nits (#18284) 3 years ago