@@ -50,7 +50,7 @@ |
||
50 | 50 | |
51 | 51 | $authObject = new WebAuthnAuthenticationEvent( |
52 | 52 | $_POST['type'], |
53 | - ( $state['FIDO2Scope'] === null ? $state['FIDO2DerivedScope'] : $state['FIDO2Scope'] ), |
|
53 | + ($state['FIDO2Scope'] === null ? $state['FIDO2DerivedScope'] : $state['FIDO2Scope']), |
|
54 | 54 | $state['FIDO2SignupChallenge'], |
55 | 55 | $state['IdPMetadata']['entityid'], |
56 | 56 | base64_decode($_POST['authenticator_data']), |
@@ -61,7 +61,7 @@ |
||
61 | 61 | $frontendData = []; |
62 | 62 | $frontendData['challengeEncoded'] = $challengeEncoded; |
63 | 63 | $frontendData['state'] = []; |
64 | -foreach (['Source','FIDO2Scope','FIDO2Username','FIDO2Displayname','requestTokenModel'] as $stateItem) { |
|
64 | +foreach (['Source', 'FIDO2Scope', 'FIDO2Username', 'FIDO2Displayname', 'requestTokenModel'] as $stateItem) { |
|
65 | 65 | $frontendData['state'][$stateItem] = $state[$stateItem]; |
66 | 66 | } |
67 | 67 | $frontendData['usernameEncoded'] = $usernameEncoded; |