Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

fix firewall to answer all login entry points in 2.0 branch #159

Open
wants to merge 1 commit into
base: 2.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Security/Firewall/FacebookListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class FacebookListener extends AbstractAuthenticationListener
{
protected function attemptAuthentication(Request $request)
{
return $this->authenticationManager->authenticate(new FacebookUserToken($this->providerKey));
if(!$request->getQueryString())
return $this->authenticationManager->authenticate(new FacebookUserToken($this->providerKey));
}
}