From 44a2dc14e933f3ce1ca93f9313d836694ab77d1d Mon Sep 17 00:00:00 2001 From: enisn Date: Thu, 30 Oct 2025 10:35:28 +0300 Subject: [PATCH] Update Register.cshtml.cs --- .../src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs index c61e31426a..6b990253fc 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs +++ b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs @@ -137,7 +137,7 @@ public class RegisterModel : AccountPageModel await RegisterLocalUserAsync(); } - return await RedirectSafelyAsync(ReturnUrl ?? "~/"); + return await RedirectSafelyAsync(ReturnUrl, ReturnUrlHash); } catch (BusinessException e) {