Browse Source
Merge pull request #8122 from abpframework/maliming/remove-returnUrl
Remove ReturnUrl from form.
pull/8131/head
Alper Ebicoglu
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
0 additions and
10 deletions
-
modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Consent.cshtml
-
modules/account/src/Volo.Abp.Account.Web/Pages/Account/ForgotPassword.cshtml
-
modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml
-
modules/account/src/Volo.Abp.Account.Web/Pages/Account/ResetPassword.cshtml
|
|
|
@ -20,8 +20,6 @@ |
|
|
|
</abp-card-header> |
|
|
|
<abp-card-body> |
|
|
|
<form method="post" asp-page="/Consent"> |
|
|
|
<input type="hidden" asp-for="ReturnUrl" /> |
|
|
|
<input type="hidden" asp-for="ReturnUrlHash" /> |
|
|
|
|
|
|
|
<div>Uncheck the permissions you do not wish to grant.</div> |
|
|
|
|
|
|
|
|
|
|
|
@ -9,8 +9,6 @@ |
|
|
|
<h4>@L["ForgotPassword"]</h4> |
|
|
|
<form method="post" class="mt-4"> |
|
|
|
<p>@L["SendPasswordResetLink_Information"]</p> |
|
|
|
<input asp-for="ReturnUrl"/> |
|
|
|
<input asp-for="ReturnUrlHash"/> |
|
|
|
<abp-input asp-for="Email"/> |
|
|
|
<abp-button button-type="Primary" size="Block" type="submit" class="mt-2 mb-3">@L["Submit"]</abp-button> |
|
|
|
<a asp-page="./Login" asp-all-route-data="@(new Dictionary<string, string> {{"returnUrl", Model.ReturnUrl}, {"returnUrlHash", Model.ReturnUrlHash}})"> |
|
|
|
|
|
|
|
@ -19,8 +19,6 @@ |
|
|
|
@if (Model.EnableLocalLogin) |
|
|
|
{ |
|
|
|
<form method="post" class="mt-4"> |
|
|
|
<input asp-for="ReturnUrl"/> |
|
|
|
<input asp-for="ReturnUrlHash"/> |
|
|
|
<div class="form-group"> |
|
|
|
<label asp-for="LoginInput.UserNameOrEmailAddress"></label> |
|
|
|
<input asp-for="LoginInput.UserNameOrEmailAddress" class="form-control"/> |
|
|
|
@ -52,8 +50,6 @@ |
|
|
|
<div class="mt-2"> |
|
|
|
<h5>@L["OrLoginWith"]</h5> |
|
|
|
<form asp-page="./Login" asp-page-handler="ExternalLogin" asp-route-returnUrl="@Model.ReturnUrl" asp-route-returnUrlHash="@Model.ReturnUrlHash" method="post"> |
|
|
|
<input asp-for="ReturnUrl"/> |
|
|
|
<input asp-for="ReturnUrlHash"/> |
|
|
|
@foreach (var provider in Model.VisibleExternalProviders) |
|
|
|
{ |
|
|
|
<button type="submit" class="btn btn-primary m-1" name="provider" value="@provider.AuthenticationScheme" title="@L["LogInUsingYourProviderAccount", provider.DisplayName]">@provider.DisplayName</button> |
|
|
|
|
|
|
|
@ -9,8 +9,6 @@ |
|
|
|
<h4>@L["ResetPassword"]</h4> |
|
|
|
<form method="post"> |
|
|
|
<p>@L["ResetPassword_Information"]</p> |
|
|
|
<abp-input asp-for="ReturnUrl"/> |
|
|
|
<abp-input asp-for="ReturnUrlHash"/> |
|
|
|
<abp-input asp-for="UserId"/> |
|
|
|
<abp-input asp-for="ResetToken"/> |
|
|
|
<abp-input asp-for="Password"/> |
|
|
|
|