1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

[PM-10723] Remove autocomplete="new-password" attribute from 2fa based code inputs (#10448)

* [PM-10723] Remove autocomplete="new-password" attribute from 2fa based code inputs

* [PM-10723] Remove autocomplete="new-password" attribute from 2fa based code inputs
This commit is contained in:
Cesar Gonzalez 2024-08-08 13:04:28 -05:00 committed by GitHub
parent bca619d0a4
commit d2c4c4cad4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 16 deletions

View File

@ -25,13 +25,7 @@
</bit-form-field>
<bit-form-field>
<bit-label>{{ "twoFactorDuoClientSecret" | i18n }}</bit-label>
<input
bitInput
type="password"
formControlName="clientSecret"
appInputVerbatim
autocomplete="new-password"
/>
<input bitInput type="password" formControlName="clientSecret" appInputVerbatim />
</bit-form-field>
<bit-form-field>
<bit-label>{{ "twoFactorDuoApiHostname" | i18n }}</bit-label>

View File

@ -37,14 +37,7 @@
</picture>
<bit-form-field>
<bit-label class="tw-sr-only">{{ "verificationCode" | i18n }}</bit-label>
<input
type="password"
bitInput
formControlName="token"
appAutofocus
appInputVerbatim
autocomplete="new-password"
/>
<input type="password" bitInput formControlName="token" appAutofocus appInputVerbatim />
</bit-form-field>
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn">

View File

@ -11,7 +11,6 @@
bitInput
appAutofocus
appInputVerbatim
autocomplete="new-password"
[(ngModel)]="tokenValue"
(input)="token.emit(tokenValue)"
/>