Passed
Push — master ( 501777...0ee23c )
by Stefan
02:19 queued 11s
created
www/authprocess.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
 $authObject = new WebAuthnAuthenticationEvent(
49 49
     $_POST['type'],
50
-    ( $state['FIDO2Scope'] === null ? $state['FIDO2DerivedScope'] : $state['FIDO2Scope'] ), 
50
+    ($state['FIDO2Scope'] === null ? $state['FIDO2DerivedScope'] : $state['FIDO2Scope']), 
51 51
     $state['FIDO2SignupChallenge'], 
52 52
     $state['IdPMetadata']['entityid'], 
53 53
     base64_decode($_POST['authenticator_data']), 
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
 if ($debugEnabled) {
82 82
     echo $authObject->debugBuffer;
83 83
     echo $authObject->validateBuffer;
84
-    echo "Debug mode, not continuing to ". ($state['FIDO2WantsRegister'] ? "credential registration page." : "destination.");
84
+    echo "Debug mode, not continuing to " . ($state['FIDO2WantsRegister'] ? "credential registration page." : "destination.");
85 85
 } else {
86 86
     if ($state['FIDO2WantsRegister']) {
87
-        header("Location: ".Module::getModuleURL('webauthn/webauthn.php?StateId='.urlencode($id)));
87
+        header("Location: " . Module::getModuleURL('webauthn/webauthn.php?StateId=' . urlencode($id)));
88 88
     } else {
89 89
         Auth\ProcessingChain::resumeProcessing($state);
90 90
     }
Please login to merge, or discard this patch.
www/regprocess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
 $regObject = new WebAuthnRegistrationEvent(
35 35
     $_POST['type'],
36
-    ( $state['FIDO2Scope'] === null ? $state['FIDO2DerivedScope'] : $state['FIDO2Scope'] ),
36
+    ($state['FIDO2Scope'] === null ? $state['FIDO2DerivedScope'] : $state['FIDO2Scope']),
37 37
     $state['FIDO2SignupChallenge'],
38 38
     $state['IdPMetadata']['entityid'],
39 39
     base64_decode($_POST['attestation_object']),
Please login to merge, or discard this patch.