Commit 73d1e212 authored by Alan Bondarchuk's avatar Alan Bondarchuk Committed by GitHub

Fix invalid parameters order

see http://php.net/manual/en/function.strpos.php
parent efe70d6a
......@@ -52,7 +52,7 @@ AbstractGuardAuthenticator. This requires you to implement six methods:
}
// Parse the header or ignore it if the format is incorrect.
if (false === strpos(':', $token)) {
if (false === strpos($token, ':')) {
return;
}
list($username, $secret) = explode(':', $token, 2);
......
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