Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
73d1e212
Commit
73d1e212
authored
Aug 04, 2016
by
Alan Bondarchuk
Committed by
GitHub
Aug 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix invalid parameters order
see
http://php.net/manual/en/function.strpos.php
parent
efe70d6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/cookbook/guard_authentication.rst
doc/cookbook/guard_authentication.rst
+1
-1
No files found.
doc/cookbook/guard_authentication.rst
View file @
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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment