@@ -16,7 +16,7 @@ |
||
16 | 16 | $user_roles = array_map('strtolower', Auth::user()->roles); |
17 | 17 | $same = (array_intersect($roles, $user_roles)); |
18 | 18 | |
19 | - if (! $same) { |
|
19 | + if (!$same) { |
|
20 | 20 | throw AuthException::auth('401', 'User does not have right roles'); |
21 | 21 | } |
22 | 22 |