@@ -34,12 +34,12 @@ |
||
34 | 34 | \JWTFactory::setTTL(43200); |
35 | 35 | //config(['jwt.ttl' =>'43200']); //30 days |
36 | 36 | } |
37 | - }catch(JWTException $e) |
|
37 | + } catch (JWTException $e) |
|
38 | 38 | {} |
39 | 39 | |
40 | 40 | //this to add the remember me mode field in the new token, but we have the custom check that is an useless |
41 | 41 | //overhead |
42 | - $custom = $custom . ';remember-' . $remember == 'true' ? 'true' : 'false'; |
|
42 | + $custom = $custom.';remember-'.$remember == 'true' ? 'true' : 'false'; |
|
43 | 43 | return parent::handle($request, $next, $custom); |
44 | 44 | } |
45 | 45 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | \JWTFactory::setTTL(43200); |
35 | 35 | //config(['jwt.ttl' =>'43200']); //30 days |
36 | 36 | } |
37 | - }catch(JWTException $e) |
|
37 | + } catch(JWTException $e) |
|
38 | 38 | {} |
39 | 39 | |
40 | 40 | //this to add the remember me mode field in the new token, but we have the custom check that is an useless |