diff options
author | Sandro Santilli <strk@kbt.io> | 2017-02-20 19:27:20 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-03-14 22:54:07 +0100 |
commit | 7d8f9d1c46e38681f2a4033a7da811ab7562d953 (patch) | |
tree | a44e9fa6b24b431c3483ae184a7502822a15d968 /cmd | |
parent | 8746fb3385ffbb7c2fc9354bf51a5225543cfb72 (diff) | |
download | gitea-7d8f9d1c46e38681f2a4033a7da811ab7562d953.tar.gz gitea-7d8f9d1c46e38681f2a4033a7da811ab7562d953.zip |
Rename /forget_password url to /forgot_password
Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`
Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go index c2d14a7870..af32592d0b 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -254,8 +254,8 @@ func runWeb(ctx *cli.Context) error { m.Any("/activate", user.Activate) m.Any("/activate_email", user.ActivateEmail) m.Get("/email2user", user.Email2User) - m.Get("/forget_password", user.ForgotPasswd) - m.Post("/forget_password", user.ForgotPasswdPost) + m.Get("/forgot_password", user.ForgotPasswd) + m.Post("/forgot_password", user.ForgotPasswdPost) m.Get("/logout", user.SignOut) }) // ***** END: User ***** |