diff options
author | Andreas Shimokawa <shimokawa@fsfe.org> | 2020-03-01 13:27:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 13:27:13 +0100 |
commit | 76878fd69b4b98d5b1d12cae7abe5d64876304f2 (patch) | |
tree | 4724c66e00c818b55d500b0bede543fe73e20b1f /routers | |
parent | 3444fa2dd770673f61f759da94e6e014377eadb1 (diff) | |
download | gitea-76878fd69b4b98d5b1d12cae7abe5d64876304f2.tar.gz gitea-76878fd69b4b98d5b1d12cae7abe5d64876304f2.zip |
Fix 404 after activating secondary email (backport of #10547) (#10553)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go index be0396cce1..3a3e3a1a54 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 |