1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-11 10:14:27 +00:00
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
..
2022-01-02 21:12:35 +08:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-02 21:12:35 +08:00
2022-01-14 16:03:31 +01:00
2022-01-02 21:12:35 +08:00
2022-01-20 18:46:10 +01:00