Skip to content

Commit 76878fd

Browse files
authored
Fix 404 after activating secondary email (backport of #10547) (#10553)
1 parent 3444fa2 commit 76878fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/user/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ func ActivateEmail(ctx *context.Context) {
12191219
ctx.Flash.Success(ctx.Tr("settings.add_email_success"))
12201220
}
12211221

1222-
ctx.Redirect(setting.AppSubURL + "/user/settings/email")
1222+
ctx.Redirect(setting.AppSubURL + "/user/settings/account")
12231223
}
12241224

12251225
// ForgotPasswd render the forget pasword page

0 commit comments

Comments
 (0)