Fix #675 - Implement semantic autocomplete for 2FA fields to prevent Firefox interference

Replace autocomplete="off" with autocomplete="one-time-code" in all 2FA components to resolve Firefox password manager interference with login buttons.
This commit is contained in:
Moises E. Puyosa 2025-07-22 11:04:26 -05:00 committed by Jack Anderson
parent c40cb57def
commit 30cea182e5
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@
id='auth_code'
type='text'
name='auth_code'
autocomplete='off'
autocomplete='one-time-code'
class='mb-3 auth-input'/>
<scrm-button id='submit-2fa-code'

View file

@ -30,7 +30,7 @@
<input [(ngModel)]="authCode"
id='auth_code'
type='text'
autocomplete='off'
autocomplete='one-time-code'
name='auth_code'
class='mb-2 mt-2 pl-0'>

View file

@ -111,7 +111,7 @@
id='auth_code'
type='text'
name='auth_code'
autocomplete='off'
autocomplete='one-time-code'
class='mb-3 auth-input'/>
<scrm-button id='submit-2fa-code'