1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 18:58:38 +00:00

Fix 404 after activating secondary email (backport of #10547) (#10553)

This commit is contained in:
Andreas Shimokawa
2020-03-01 13:27:13 +01:00
committed by GitHub
parent 3444fa2dd7
commit 76878fd69b

View 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