Passed
Push — master ( 16e6d7...bfa795 )
by Elia
01:15
created
user/login/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,12 +49,12 @@
 block discarded – undo
49 49
 
50 50
         $secure = "";
51 51
         $expire = $token_conf['expireAt'];
52
-        if(isset($_SERVER['https'])){
52
+        if (isset($_SERVER['https'])) {
53 53
             $secure = "Secure";
54 54
         }
55 55
 
56
-        header ("Set-Cookie: secureToken=$jwt; expires=$expire; path=/; samesite=strict; httpOnly; $secure");
57
-        header ("Set-Cookie: appToken=$jwt; expires=$expire; path=/; samesite=strict; $secure");
56
+        header("Set-Cookie: secureToken=$jwt; expires=$expire; path=/; samesite=strict; httpOnly; $secure");
57
+        header("Set-Cookie: appToken=$jwt; expires=$expire; path=/; samesite=strict; $secure");
58 58
 
59 59
         returnSuccess();
60 60
 
Please login to merge, or discard this patch.