You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
2fa.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
auth.go Fix error on account activation with wrong passwd (#22609) 1 year ago
linkaccount.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth.go Allow setting `redirect_to` cookie on OAuth login (#22594) 1 year ago
oauth_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
openid.go Implement FSFE REUSE for golang files (#21840) 2 years ago
password.go Implement FSFE REUSE for golang files (#21840) 2 years ago
webauthn.go Replace deprecated Webauthn library (#22400) 1 year ago