Browse Source
Merge pull request #14282 from abpframework/autocomplete
Disable autocomplete for password inputs.
pull/14287/head
liangshiwei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
5 additions and
5 deletions
-
modules/account/src/Volo.Abp.Account.Web/Pages/Account/ResetPassword.cshtml
-
modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/CreateModal.cshtml
-
modules/identity/src/Volo.Abp.Identity.Web/Pages/Identity/Users/EditModal.cshtml
-
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/Default.cshtml
|
|
|
@ -11,8 +11,8 @@ |
|
|
|
<p>@L["ResetPassword_Information"]</p> |
|
|
|
<abp-input asp-for="UserId"/> |
|
|
|
<abp-input asp-for="ResetToken"/> |
|
|
|
<abp-input asp-for="Password"/> |
|
|
|
<abp-input asp-for="ConfirmPassword"/> |
|
|
|
<abp-input asp-for="Password" autocomplete="new-password" /> |
|
|
|
<abp-input asp-for="ConfirmPassword" autocomplete="new-password" /> |
|
|
|
<a abp-button="Secondary" asp-page="./Login">@L["Cancel"]</a> |
|
|
|
<abp-button type="submit" button-type="Primary" text="@L["Submit"].Value"/> |
|
|
|
</form> |
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ |
|
|
|
<div class="mb-3"> |
|
|
|
<label asp-for="UserInfo.Password" class="form-label">@L["Password"] *</label> |
|
|
|
<div class="input-group"> |
|
|
|
<input type="password" class="form-control" maxlength="@IdentityUserConsts.MaxPasswordLength" asp-for="UserInfo.Password" /> |
|
|
|
<input type="password" class="form-control" autocomplete="new-password" maxlength="@IdentityUserConsts.MaxPasswordLength" asp-for="UserInfo.Password" /> |
|
|
|
<button class="btn btn-secondary" type="button" id="PasswordVisibilityButton"><i class="fa fa-eye-slash" aria-hidden="true"></i></button> |
|
|
|
</div> |
|
|
|
<span asp-validation-for="UserInfo.Password"></span> |
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ |
|
|
|
<div class="mb-3"> |
|
|
|
<label asp-for="UserInfo.Password" class="form-label">@L["Password"]</label> |
|
|
|
<div class="input-group"> |
|
|
|
<input type="password" class="form-control" maxlength="@IdentityUserConsts.MaxPasswordLength" asp-for="UserInfo.Password"/> |
|
|
|
<input type="password" class="form-control" autocomplete="new-password" maxlength="@IdentityUserConsts.MaxPasswordLength" asp-for="UserInfo.Password"/> |
|
|
|
<button class="btn btn-secondary" type="button" id="PasswordVisibilityButton"> |
|
|
|
<i class="fa fa-eye-slash" aria-hidden="true"></i> |
|
|
|
</button> |
|
|
|
|
|
|
|
@ -21,7 +21,7 @@ |
|
|
|
<div id="HideSectionWhenUseDefaultCredentialsIsChecked" @Html.Raw(Model.SmtpUseDefaultCredentials ? "style=\"display: none;\"" : "")> |
|
|
|
<abp-input asp-for="SmtpDomain"/> |
|
|
|
<abp-input asp-for="SmtpUserName"/> |
|
|
|
<abp-input type="password" asp-for="SmtpPassword"/> |
|
|
|
<abp-input type="password" autocomplete="new-password" asp-for="SmtpPassword"/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<hr class="my-4"/> |
|
|
|
|