@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | 'welcome', |
| 40 | 40 | ]; |
| 41 | 41 | |
| 42 | - if (! in_array($currentRoute, $routesAllowed)) { |
|
| 42 | + if (!in_array($currentRoute, $routesAllowed)) { |
|
| 43 | 43 | if ($user && $user->activated != 1) { |
| 44 | 44 | Log::info('Non-activated user attempted to visit '.$currentRoute.'. ', [$user]); |
| 45 | 45 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | return redirect('home'); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | - if (! $user) { |
|
| 75 | + if (!$user) { |
|
| 76 | 76 | Log::info('Non registered visit to '.$currentRoute.'. '); |
| 77 | 77 | |
| 78 | 78 | return redirect()->route('welcome'); |