Fix 404 after activating secondary email (#10547)

This commit is contained in:
Andreas Shimokawa 2020-03-01 00:46:20 +01:00 committed by GitHub
parent 421e7b7875
commit 14f3593f20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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