Format
This commit is contained in:
+3
-4
@@ -14,10 +14,9 @@ class Authentication
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
if ($request->input('gql_session') === 'SUPER_SECRET_TOKEN') {
|
||||
return "false";
|
||||
}
|
||||
else {
|
||||
return "true";
|
||||
return 'false';
|
||||
} else {
|
||||
return 'true';
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
||||
Reference in New Issue
Block a user