mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 14:52:49 +01:00
Fix 404 after activating secondary email (#10547)
This commit is contained in:
parent
421e7b7875
commit
14f3593f20
1 changed files with 1 additions and 1 deletions
|
@ -1219,7 +1219,7 @@ func ActivateEmail(ctx *context.Context) {
|
||||||
ctx.Flash.Success(ctx.Tr("settings.add_email_success"))
|
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
|
// ForgotPasswd render the forget pasword page
|
||||||
|
|
Loading…
Reference in a new issue