feat: add passkey-based two-factor authentication

This commit is contained in:
shuaiplus
2026-07-05 14:51:11 +08:00
parent f63b745d05
commit c019c93726
31 changed files with 1540 additions and 116 deletions
+20 -1
View File
@@ -91,7 +91,7 @@
}
.dialog-extra {
@apply mt-2;
@apply mt-2 grid gap-2;
}
.dialog-divider {
@@ -99,6 +99,25 @@
background: var(--line);
}
.two-factor-method-switcher {
@apply grid gap-2;
}
.two-factor-method-list {
@apply grid gap-2 rounded-lg border p-2;
border-color: var(--line);
background: color-mix(in srgb, var(--panel) 92%, var(--surface));
}
.two-factor-method-label {
@apply px-1 text-left text-sm font-extrabold;
color: var(--muted);
}
.two-factor-method-option {
@apply min-h-11 justify-start text-base;
}
.import-summary-dialog {
@apply relative max-w-[520px] pt-4 text-left;
}