gitea/routers/web
zeripath 1c5afd17ee
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>
2022-02-03 10:44:18 +00:00
..
admin Fix OAuth Source Edit Page (#18495) 2022-01-31 20:41:11 +00:00
auth Prevent panic on prohibited user login with oauth2 (#18562) 2022-02-03 10:44:18 +00:00
dev
events Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
feed Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
org Add `GetUserTeams` (#18499) 2022-02-01 14:09:24 -05:00
repo Collaborator trust model should trust collaborators (#18539) 2022-02-02 11:10:06 +01:00
user Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
goget.go
home.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
metrics.go
nodeinfo.go
swagger_json.go
web.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00