NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

migrating from u2f-api.js to webauthn

ab0f8fa8
FreddleSpl0it <[email protected]> 4 years, 6 months ago
data/web/json_api.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Diff

diff --git a/data/web/json_api.php b/data/web/json_api.php
index 0ef6b664..48670289 100644
--- a/data/web/json_api.php
+++ b/data/web/json_api.php
@@ -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));