mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-27 09:19:15 +08:00
migrating from u2f-api.js to webauthn
This commit is contained in:
parent
59c8116247
commit
ab0f8fa8b0
@ -466,8 +466,8 @@ if (isset($_GET['query'])) {
|
||||
|
||||
// getCreateArgs($userId, $userName, $userDisplayName, $timeout=20, $requireResidentKey=false, $requireUserVerification=false, $crossPlatformAttachment=null, $excludeCredentialIds=array())
|
||||
// cross-platform: true, if type internal is not allowed
|
||||
// // false, if only internal is allowed
|
||||
// // null, if internal and cross-platform is allowed
|
||||
// false, if only internal is allowed
|
||||
// null, if internal and cross-platform is allowed
|
||||
$createArgs = $WebAuthn->getCreateArgs($_SESSION["mailcow_cc_username"], $_SESSION["mailcow_cc_username"], $_SESSION["mailcow_cc_username"], 30, false, $GLOBALS['WEBAUTHN_UV_FLAG_REGISTER'], null);
|
||||
|
||||
print(json_encode($createArgs));
|
||||
|
Loading…
Reference in New Issue
Block a user