@@ -111,8 +111,9 @@ |
||
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 | } |
@@ -90,8 +90,9 @@ |
||
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 |