mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
#17237: Multiple clicks of Sign-in link cause multiple ReturnUrl values to be appended
--HG-- branch : dev
This commit is contained in:
@@ -10,6 +10,6 @@
|
|||||||
@Html.ActionLink("Dashboard", "Index", new { Area = "Dashboard", Controller = "Admin" })
|
@Html.ActionLink("Dashboard", "Index", new { Area = "Dashboard", Controller = "Admin" })
|
||||||
</span>
|
</span>
|
||||||
} else {
|
} else {
|
||||||
<span class="user-actions">@Html.ActionLink(T("Sign In").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl })</span>
|
<span class="user-actions">@Html.ActionLink(T("Sign In").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = (Request.QueryString["ReturnUrl"] ?? Request.RawUrl) })</span>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
Reference in New Issue
Block a user