× Joomla Facebook Connect support forum

Topic-icon Logout before login

Active Subscriptions:

None
11 years 9 months ago #25709 by fb_905870441
My customer's website will be used in a convention with public computers. We want to have a "register" button that calls JFBConnect, but have to make sure users have to reenter their facebook login credentials, so the register button has to logout the previous user. Is this possible to do?
The topic has been locked.
Support Specialist
11 years 9 months ago #25713 by alzander
Replied by alzander on topic Logout before login
First, make sure "Auto login Facebook Users is Disabled". Then, make sure the Logout Joomla Only setting is disabled, so the user will be logged out of Facebook too.

Then, I would honestly recommend that if the user is redirected to some special page after registering, you just add the following code:
<script type="text/javascript">FB.logout();</script>
That *should* auto-logout any user who is logged into Facebook. Obviously, a lot of testing will be necessary.

Hope that helps though, and let us know if you run into any issues!
Alex
The topic has been locked.