forgejo/routers
zeripath 1c5afd17ee
Prevent panic on prohibited user login with oauth2 ()
There was an unfortunate regression in  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 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-03 10:44:18 +00:00
..
api/v1 Add GetUserTeams () 2022-02-01 14:09:24 -05:00
common format with gofumpt () 2022-01-20 18:46:10 +01:00
install Switch to non-deprecation setting () 2022-01-23 20:02:29 +01:00
private Validate migration files () 2022-01-26 10:45:51 +01:00
utils A better go code formatter, and now make fmt can run in Windows () 2021-11-17 20:34:35 +08:00
web Prevent panic on prohibited user login with oauth2 () 2022-02-03 10:44:18 +00:00
init.go Move keys to models/asymkey () 2021-12-10 16:14:24 +08:00