1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 08:55:47 +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
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