]> source.dussan.org Git - gitea.git/commitdiff
Fix 404 after activating secondary email (backport of #10547) (#10553)
authorAndreas Shimokawa <shimokawa@fsfe.org>
Sun, 1 Mar 2020 12:27:13 +0000 (13:27 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Mar 2020 12:27:13 +0000 (13:27 +0100)
routers/user/auth.go

index be0396cce1d157135e03f1f9a7bfdb43500de56d..3a3e3a1a547a4d57110428fca916a5f30e876939 100644 (file)
@@ -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