From 76878fd69b4b98d5b1d12cae7abe5d64876304f2 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sun, 1 Mar 2020 13:27:13 +0100 Subject: [PATCH] Fix 404 after activating secondary email (backport of #10547) (#10553) --- routers/user/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/user/auth.go b/routers/user/auth.go index be0396cce1d..3a3e3a1a547 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