forgejo/routers
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>
2022-02-03 21:36:42 +08:00
..
api/v1 Add GetUserTeams (#18499) (#18531) 2022-02-02 08:40:04 +00:00
common Instead of using routerCtx just escape the url before routing (#18086) 2021-12-25 00:50:49 +08:00
install Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
private show pull link for agit pull request also (#18235) 2022-01-17 13:56:43 +08:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Prevent panic on prohibited user login with oauth2 (#18562) (#18563) 2022-02-03 21:36:42 +08:00
init.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00