summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorAndreas Shimokawa <shimokawa@fsfe.org>2020-03-01 00:46:20 +0100
committerGitHub <noreply@github.com>2020-02-29 23:46:20 +0000
commit14f3593f2027ee39b748c601ff9440e439db5f45 (patch)
tree4a67d67c3c0b95efdd5cba5cd4a6a659e23673ce /routers
parent421e7b7875d4ee71eeaec6e1e28a3758adcb55ce (diff)
downloadgitea-14f3593f2027ee39b748c601ff9440e439db5f45.tar.gz
gitea-14f3593f2027ee39b748c601ff9440e439db5f45.zip
Fix 404 after activating secondary email (#10547)
Diffstat (limited to 'routers')
-rw-r--r--routers/user/auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go
index be0396cce1..3a3e3a1a54 100644
--- a/routers/user/auth.go
+++ b/routers/user/auth.go
@@ -1219,7 +1219,7 @@ func ActivateEmail(ctx *context.Context) {
ctx.Flash.Success(ctx.Tr("settings.add_email_success"))
}
- ctx.Redirect(setting.AppSubURL + "/user/settings/email")
+ ctx.Redirect(setting.AppSubURL + "/user/settings/account")
}
// ForgotPasswd render the forget pasword page