Commit c7a90191 authored by Fabien Potencier's avatar Fabien Potencier

minor #1407 Fix invalid parameters order (fortis)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Fix invalid parameters order

see http://php.net/manual/en/function.strpos.php

Commits
-------

73d1e212 Fix invalid parameters order
parents efe70d6a 73d1e212
......@@ -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