Completed
Push — master ( e792c1...df17fb )
by claudio
03:48
created
app/Http/Middleware/GetUserAndRefresh.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
         $custom = $this->convertToArray($custom);
24 24
         Debug::info('headers: '.implode('-',$request->all()));
25 25
         if($token = $this->auth->setRequest($request)->getToken()) {
26
-        }else if ($this->auth->getUserModel()){
26
+        } else if ($this->auth->getUserModel()){
27 27
             $token = $this->auth->fromUser($this->auth->getUserModel(), $custom);
28
-        }else {
28
+        } else {
29 29
             return $this->respond('tymon.jwt.absent', 'token_not_provided', 401);
30 30
         }
31 31
 
Please login to merge, or discard this patch.