stable

Clone or download

Read-only

feat: Add switch button to disable password auth

Part of story #33005 login with only my passkey In goal to allow user to login with only its passkey, this commit adds a switch button in user preferences to disable password authentication. When disabled, the user can no longer login with password. Currently just add the button, the logic is not yet implemented *Testing:* If you have at least one registered passkey, a switch button appear in passkey tab (user preferences). Change-Id: I6fe8cf10a01b88ceb55963d584dfe51cf0e0e950

Modified Files

Name
M plugins/webauthn/include/WebAuthn/Controllers/AccountPresenter.php +2 −0 Go to diff View file
M plugins/webauthn/scripts/account/src/account.ts +12 −0 Go to diff View file
M plugins/webauthn/site-content/fr_FR/LC_MESSAGES/tuleap-webauthn.po +3 −0 Go to diff View file
M plugins/webauthn/site-content/pt_BR/LC_MESSAGES/tuleap-webauthn.po +3 −0 Go to diff View file
M plugins/webauthn/templates/account.mustache +29 −0 Go to diff View file