1
0
Fork 0
forgejo/routers/web/auth
Otto Richter (fnetX) 95d9fbdcf3
Fix error on account activation with wrong passwd (#22609)
On activating local accounts, the error message didn't differentiate
between using a wrong or expired token, or a wrong password. The result
could already be obtained from the behaviour (different screens were
presented), but the error message was misleading and lead to confusion
for new users on Codeberg with Forgejo.

Now, entering a wrong password for a valid token prints a different
error message.

The problem was introduced in 0f14f69e60.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-28 15:59:46 +08:00
..
2fa.go
auth.go
linkaccount.go
main_test.go
oauth.go Allow setting redirect_to cookie on OAuth login (#22594) 2023-01-24 11:41:38 -05:00
oauth_test.go
openid.go
password.go
webauthn.go