Commit 3415f388 authored by Fabien Potencier's avatar Fabien Potencier

fixed typo

parent 15420a61
...@@ -28,7 +28,7 @@ class TokenAuthenticator extends AbstractGuardAuthenticator ...@@ -28,7 +28,7 @@ class TokenAuthenticator extends AbstractGuardAuthenticator
public function getCredentials(Request $request) public function getCredentials(Request $request)
{ {
if (!$token = $request->headers->get('X-AUTH-TOKEN')) { if (!$token = $request->headers->get('X-AUTH-TOKEN')) {
return Kernel::VERSION_ID < 34000 ? null : false; return Kernel::VERSION_ID < 30400 ? null : false;
} }
list($username, $secret) = explode(':', $token); list($username, $secret) = explode(':', $token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment