Better error messages from backend, avoid bad toasts, cleanup of session validation.
This commit is contained in:
1 parent
77d8e97dc9
commit
a05d4aec81
8 files changed
+33
-44
No files matched your search
+1
-1
@@ -439,7 +439,7 @@ class DB(DatabaseInterface):
|
||||
credential_model = result.scalar_one_or_none()
|
||||
|
||||
if not credential_model:
|
||||
raise ValueError("Credential not registered")
|
||||
raise ValueError("This passkey is not registered with this service")
|
||||
return Credential(
|
||||
uuid=UUID(bytes=credential_model.uuid),
|
||||
credential_id=credential_model.credential_id,
|
||||
|
||||
Reference in new issue
Block a user