Skip to content

Commit 712a8b8

Browse files
committed
Move passkey and openid items into their own components.
1 parent 7ead79d commit 712a8b8

File tree

1 file changed

+2
-1
lines changed
  • src/frontend/src/routes/(new-styling)/manage/(authenticated)/access

1 file changed

+2
-1
lines changed

src/frontend/src/routes/(new-styling)/manage/(authenticated)/access/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import {
2929
authnMethodEqual,
3030
authnMethodToPublicKey,
31+
getAuthnMethodAlias,
3132
} from "$lib/utils/webAuthn";
3233
import { invalidateAll } from "$app/navigation";
3334
import { AddAccessMethodWizard } from "$lib/components/wizards/addAccessMethod";
@@ -302,7 +303,7 @@
302303
{#if renamablePasskey}
303304
<Dialog onClose={() => (renamablePasskey = undefined)}>
304305
<RenamePasskey
305-
name={getMetadataString(renamablePasskey.metadata, "alias") ?? ""}
306+
name={getAuthnMethodAlias(renamablePasskey)}
306307
onRename={handleRenamePasskey}
307308
onCancel={() => (renamablePasskey = undefined)}
308309
/>

0 commit comments

Comments
 (0)