CakePHP-Facebook-Plugin
CakePHP-Facebook-Plugin copied to clipboard
User getting logged in automatically
My problem is when user is already logged in in facebook in another tab and anyone comes to my app it add their details to my DB even they don't click on login or register and even if that user has account on site they get logged in automatically after page refresh if they already sign in in facebook. Can anybody help me in it? Thanks in advance.
In ConnectComponent change the $autoLogin = false. It may fix your issue.
i didn't find $autoLogin variable in ConnectComponent..
Anyone got the solution for this issue? I am having the same problem here. The $autoLogin is false by default.