0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-17 02:33:08 +01:00
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
auth
dev
events
explore
feed
org
repo
user
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00