× Joomla Facebook Connect support forum

Topic-icon Login loop when user blocked in Joomla

Active Subscriptions:

None
12 years 11 months ago #10075 by playak
I noticed that if a user is blocked in Joomla, clicking the Connect button can result in an infinite redirect loop. Happens in different scenarios, e.g. when first autodetecting the user id by means of the e-mail address, or when the accounts are already connected.

Proposal: whatever JFBC does with records from the jos_users table, it should only ever consider records that have the block field set to 0.
The topic has been locked.
Support Specialist
12 years 11 months ago #10081 by alzander
Yeah, this is a bug we just recently discovered. It's been there a while, but was recently made more obvious since we added the ability to use the Joomla email confirmation setting (which blocks a user by default until they do so). The same effect happens if you manually block a user.

This will be fixed in an upcoming release. Because we have auto-login and a few other methods for a user to try to login through Facebook, we're working on the best 'generic' solution that will work across all login scenarios and profile plugins that also have the ability to block users (CB mainly).

Sorry for the trouble. If you have user activation enabled on your site (and not skipped in JFBConnect) or you actively block users, we'd recommend disabling the auto-login Facebook users setting for now. The other login mechanisms that can cause the loop are at least user-initiated, so it's more obvious why there's a problem in that case.
The topic has been locked.