stable

Clone or download

Read-only

refactor: Remove check button in user preferences

Part of story #31177 Check my identity when doing a risky action As we can now use our passkeys for risky actions (add ssh or access key), the check button in user preferences introduced by 218ea0d4e3edee9c11ba872735ead6ba754a9625 is no longer needed. *Testing:* After have registered at least one passkey, no check button will appear. Change-Id: I27f5c9af1e69a61e7ed8bd769d12c7687d94a949

Modified Files

Name
M lib/frontend/webauthn/src/AuthenticationModal.ts +1 −0 Go to diff View file
M lib/frontend/webauthn/src/authenticate.test.ts +1 −73 Go to diff View file
M lib/frontend/webauthn/src/authenticate.ts +1 −21 Go to diff View file
M lib/frontend/webauthn/src/main.ts +2 −2 Go to diff View file
D plugins/webauthn/build-manifest.json +0 −9 Go to diff View file
M plugins/webauthn/include/WebAuthn/Controllers/AccountPresenter.php +0 −2 Go to diff View file
M plugins/webauthn/scripts/account/package.json +1 −4 Go to diff View file
M plugins/webauthn/scripts/account/pnpm-lock.yaml +0 −9 Go to diff View file
D plugins/webauthn/scripts/account/po/fr_FR.po +0 −16 Go to diff View file
D plugins/webauthn/scripts/account/po/pt_BR.po +0 −16 Go to diff View file
M plugins/webauthn/scripts/account/src/account.ts +12 −63 Go to diff View file
M plugins/webauthn/scripts/account/vite.config.ts +0 −2 Go to diff View file
M plugins/webauthn/site-content/fr_FR/LC_MESSAGES/tuleap-webauthn.po +0 −3 Go to diff View file
M plugins/webauthn/site-content/pt_BR/LC_MESSAGES/tuleap-webauthn.po +0 −3 Go to diff View file
M plugins/webauthn/templates/account.mustache +0 −8 Go to diff View file
M plugins/webauthn/tests/e2e/cypress/cypress/e2e/webauthn-user-preferences.cy.ts +16 −6 Go to diff View file
M src/common/Request/RouteCollector.php +0 −38 Go to diff View file
D src/common/WebAuthn/Controllers/PostAuthenticationController.php +0 −123 Go to diff View file
D tests/unit/common/WebAuthn/Controllers/PostAuthenticationControllerTest.php +0 −206 Go to diff View file