|
@@ -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->getDebugBuffer(); |
|
83
|
83
|
echo $authObject->getValidateBuffer(); |
|
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.