Browse Source

Fix 404 after activating secondary email (#10547)

tags/v1.21.12.1
Andreas Shimokawa GitHub 5 years ago
parent
commit
14f3593f20
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/user/auth.go

+ 1
- 1
routers/user/auth.go 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


Loading…
Cancel
Save