Skip to content

Commit 7277c33

Browse files
committed
Handle locked recovery phrase edge case.
1 parent cbb3779 commit 7277c33

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
);
7171
return value === undefined
7272
? "missing"
73-
: value.last_authentication[0] === undefined
73+
: value.last_authentication[0] === undefined ||
74+
"Protected" in value.security_settings.protection
7475
? "unverified"
7576
: "verified";
7677
},

0 commit comments

Comments
 (0)