summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-02-20 19:27:20 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-03-14 22:54:07 +0100
commit7d8f9d1c46e38681f2a4033a7da811ab7562d953 (patch)
treea44e9fa6b24b431c3483ae184a7502822a15d968 /routers/user
parent8746fb3385ffbb7c2fc9354bf51a5225543cfb72 (diff)
downloadgitea-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 'routers/user')
-rw-r--r--routers/user/auth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go
index cb7d5961bd..f8c6db1268 100644
--- a/routers/user/auth.go
+++ b/routers/user/auth.go
@@ -864,7 +864,7 @@ func ActivateEmail(ctx *context.Context) {
// ForgotPasswd render the forget pasword page
func ForgotPasswd(ctx *context.Context) {
- ctx.Data["Title"] = ctx.Tr("auth.forgot_password")
+ ctx.Data["Title"] = ctx.Tr("auth.forgot_password_title")
if setting.MailService == nil {
ctx.Data["IsResetDisable"] = true
@@ -881,7 +881,7 @@ func ForgotPasswd(ctx *context.Context) {
// ForgotPasswdPost response for forget password request
func ForgotPasswdPost(ctx *context.Context) {
- ctx.Data["Title"] = ctx.Tr("auth.forgot_password")
+ ctx.Data["Title"] = ctx.Tr("auth.forgot_password_title")
if setting.MailService == nil {
ctx.Handle(403, "ForgotPasswdPost", nil)