]> source.dussan.org Git - gitea.git/commit
Show a link to password reset from password change and delete account (#862)
authorSandro Santilli <strk@kbt.io>
Sat, 11 Mar 2017 09:11:54 +0000 (10:11 +0100)
committerLunny Xiao <xiaolunwen@gmail.com>
Sat, 11 Mar 2017 09:11:54 +0000 (17:11 +0800)
commit8a98a25d8e538d7ef026147b14b937beba2b1056
tree4aafd6d6ff3a6e06d10cc5e0b57807df27a448d8
parentc99e7e1a62788b7bfdda1d3189a2b8c2254efa96
Show a link to password reset from password change and delete account (#862)

It's helpful when you forgot your password thus cannot change it
(can happen if you log in via OAuth2 or OpenID)

Also make sure that both the delete-account and password-change
links to forgot-password will have the primary email pre-filled
routers/user/auth.go
routers/user/setting.go
templates/user/settings/delete.tmpl
templates/user/settings/password.tmpl