Skip to content

Commit

Permalink
Update TokenAuthenticator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-montanez authored Jan 23, 2018
1 parent 4d56b82 commit dc65b11
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Security/TokenAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@ public function __construct($access_url, EnabledService $enabledService, $client

public function supports(Request $request)
{
if ($apiToken = $request->query->has('api_token')) {
return true;
}

if ($token = $request->query->has('access_token')) {
return true;
}

return false;
return true;
}

/**
Expand Down

0 comments on commit dc65b11

Please sign in to comment.