Passed
Push — master ( 70b691...ae0b84 )
by Tim
02:51
created
www/authprocess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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']),
Please login to merge, or discard this patch.
www/webauthn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.