mirror of https://github.com/go-gitea/gitea
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>
pull/22524/head^2
parent
74466eb133
commit
95d9fbdcf3
Loading…
Reference in new issue