@@ -47,7 +47,7 @@ discard block |
||
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 |
||
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 | } |
@@ -33,7 +33,7 @@ |
||
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']), |