]> source.dussan.org Git - gitea.git/commit
Add more descriptive error on forgot password page (#26848)
authorJack Hay <jack@allspice.io>
Fri, 1 Sep 2023 16:15:39 +0000 (12:15 -0400)
committerGitHub <noreply@github.com>
Fri, 1 Sep 2023 16:15:39 +0000 (16:15 +0000)
commit9881b8a4e24bc81b1acd80b51c5c2541b063149e
tree9bf4c5ce0c0d3f11880e6999ad3c2ced798f85eb
parent04771b5ff79152a47aecce4b2b445daa4a96da33
Add more descriptive error on forgot password page (#26848)

## Changes
- Forces flashed error to render immediately when forgot password code
is incorrect or has expired.
- Adds a link back to the `forgot_password` page so that the user can
restart the process (in the event that their link has expired)
options/locale/locale_en-US.ini
routers/web/auth/password.go
templates/user/auth/reset_passwd.tmpl