CakePHP-Facebook-Plugin icon indicating copy to clipboard operation
CakePHP-Facebook-Plugin copied to clipboard

User getting logged in automatically

Open mmdgreat opened this issue 11 years ago • 3 comments

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.

mmdgreat avatar Jan 15 '14 12:01 mmdgreat

In ConnectComponent change the $autoLogin = false. It may fix your issue.

NehalPatel avatar Feb 12 '14 07:02 NehalPatel

i didn't find $autoLogin variable in ConnectComponent..

mmdgreat avatar Feb 12 '14 10:02 mmdgreat

Anyone got the solution for this issue? I am having the same problem here. The $autoLogin is false by default.

heraldsuva avatar Aug 27 '15 07:08 heraldsuva