Completed
Pull Request — master (#42)
by claudio
03:15
created
app/Http/Controllers/Employees/Auth/AuthController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,9 @@
 block discarded – undo
111 111
         {
112 112
             config(['jwt.ttl' =>'43200']); //30 days
113 113
             $this->custom = array_merge($this->custom, ['remember'=>'true']);
114
-        }else
115
-            $this->custom = array_merge($this->custom, ['remember'=>'false']);
114
+        } else {
115
+                    $this->custom = array_merge($this->custom, ['remember'=>'false']);
116
+        }
116 117
 
117 118
         return $this->postLoginOriginal($request);
118 119
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/Auth/AuthController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,9 @@
 block discarded – undo
90 90
         {
91 91
             config(['jwt.ttl' =>'43200']); //30 days
92 92
             $this->custom = array_merge($this->custom, ['remember'=>'true']);
93
-        }else
94
-            $this->custom = array_merge($this->custom, ['remember'=>'false']);
93
+        } else {
94
+                    $this->custom = array_merge($this->custom, ['remember'=>'false']);
95
+        }
95 96
         return $this->postLoginOriginal($request);
96 97
     }
97 98
 
Please login to merge, or discard this patch.