Browse Source

Merge pull request #24068 from abpframework/auto-merge/rel-10-0/4082

Merge branch dev with rel-10.0
pull/24073/head
Ma Liming 12 months ago
committed by GitHub
parent
commit
efaa959f07
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs

2
modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs

@ -137,7 +137,7 @@ public class RegisterModel : AccountPageModel
await RegisterLocalUserAsync(); await RegisterLocalUserAsync();
} }
return Redirect(ReturnUrl ?? "~/"); //TODO: How to ensure safety? IdentityServer requires it however it should be checked somehow! return await RedirectSafelyAsync(ReturnUrl, ReturnUrlHash);
} }
catch (BusinessException e) catch (BusinessException e)
{ {

Loading…
Cancel
Save