Skip to content

Commit 1d9a502

Browse files
committed
resolved #21: Fixed ReturnUrl problem
1 parent b6d4d56 commit 1d9a502

File tree

1 file changed

+1
-1
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Account

1 file changed

+1
-1
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Account/Login.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<div class="col-lg-12">
3030
<div class="well bs-component">
3131
<form asp-action="Login" id="LoginForm" class="form-horizontal" method="POST">
32-
<input type="hidden" name="returnUrl" value="@ViewBag.ReturnUrl" />
32+
<input type="hidden" name="returnUrl" value="@Model.ReturnUrl" />
3333
<input type="hidden" name="returnUrlHash" />
3434
<fieldset>
3535
<legend>@L("LogIn")</legend>

0 commit comments

Comments
 (0)