mirror of https://github.com/go-gitea/gitea
Prevent panic on prohibited user login with oauth2 (#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>pull/18576/head
parent
104c547d61
commit
1c5afd17ee
Loading…
Reference in new issue