mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Begin work on WebAuthn
This commit is contained in:
1 parent
f91a8a9135
commit
a86ba4df47
14 files changed
+1669
-97
No files matched your search
@@ -99,6 +99,12 @@ App::init()
|
||||
}
|
||||
break;
|
||||
|
||||
case 'webauthn':
|
||||
if (($auths['webauthn'] ?? true) === false) {
|
||||
throw new Exception(Exception::USER_AUTH_METHOD_UNSUPPORTED, 'Webauthn authentication is disabled for this project');
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new Exception(Exception::USER_AUTH_METHOD_UNSUPPORTED, 'Unsupported authentication route');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user