Add login with passkey

Co-authored-by: zUnixorn <77864446+zUnixorn@users.noreply.github.com>
Co-authored-by: a15355447898a <62456287+a15355447898a@users.noreply.github.com>
Co-authored-by: Sammy ETUR <50653464+samos667@users.noreply.github.com>
Co-authored-by: Zaid Marji <91486926+zaid-marji@users.noreply.github.com>
Co-authored-by: Raphaël Roumezin <94066559+RaphaelRoumezin@users.noreply.github.com>
Co-authored-by: Keng <39216134+kengzzzz@users.noreply.github.com>
Co-authored-by: Akhil Babel <335565203+akh1lb@users.noreply.github.com>
This commit is contained in:
23 files changed
+1060 -30

No files matched your search

+11 -5
View File
@@ -48,17 +48,23 @@ a[href$="/settings/sponsored-families"] {
}
{{/if}}
/* Hide the `Log in with passkey` settings */
{{#unless webauthn_2fa_supported}}
/* Hide the `Log in with passkey` settings when the `DOMAIN` can't use passkeys */
app-user-layout app-password-settings app-webauthn-login-settings {
@extend %vw-hide;
}
/* Hide Log in with passkey on the login page */
.vw-passkey-login {
{{/unless}}
{{#unless passkey_login_available}}
/* Hide Log in with passkey on the login page and adding passkeys. SSO_ONLY keeps the list, so that passkeys can still
be removed. */
.vw-passkey-login,
app-user-layout app-password-settings app-webauthn-login-settings > button {
@extend %vw-hide;
}
{{/unless}}
/* Hide the or text followed by the two buttons hidden above */
{{#if (or (not sso_enabled) sso_only)}}
/* Hide the or text when no button follows it */
{{#if (and (or (not sso_enabled) sso_only) (not passkey_login_available))}}
.vw-or-text {
@extend %vw-hide;
}