mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00: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:
@@ -25,13 +25,7 @@
|
|||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>{{ "twoFactorDuoClientSecret" | i18n }}</bit-label>
|
<bit-label>{{ "twoFactorDuoClientSecret" | i18n }}</bit-label>
|
||||||
<input
|
<input bitInput type="password" formControlName="clientSecret" appInputVerbatim />
|
||||||
bitInput
|
|
||||||
type="password"
|
|
||||||
formControlName="clientSecret"
|
|
||||||
appInputVerbatim
|
|
||||||
autocomplete="new-password"
|
|
||||||
/>
|
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>{{ "twoFactorDuoApiHostname" | i18n }}</bit-label>
|
<bit-label>{{ "twoFactorDuoApiHostname" | i18n }}</bit-label>
|
||||||
|
|||||||
@@ -37,14 +37,7 @@
|
|||||||
</picture>
|
</picture>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label class="tw-sr-only">{{ "verificationCode" | i18n }}</bit-label>
|
<bit-label class="tw-sr-only">{{ "verificationCode" | i18n }}</bit-label>
|
||||||
<input
|
<input type="password" bitInput formControlName="token" appAutofocus appInputVerbatim />
|
||||||
type="password"
|
|
||||||
bitInput
|
|
||||||
formControlName="token"
|
|
||||||
appAutofocus
|
|
||||||
appInputVerbatim
|
|
||||||
autocomplete="new-password"
|
|
||||||
/>
|
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn">
|
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn">
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
bitInput
|
bitInput
|
||||||
appAutofocus
|
appAutofocus
|
||||||
appInputVerbatim
|
appInputVerbatim
|
||||||
autocomplete="new-password"
|
|
||||||
[(ngModel)]="tokenValue"
|
[(ngModel)]="tokenValue"
|
||||||
(input)="token.emit(tokenValue)"
|
(input)="token.emit(tokenValue)"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user