When the user is logged in and the account is already linked with a Facebook account and logged in, the Facebook login block says "Login to this site using your Facebook credentials. Login".

The login link leads to /fbconnect/register/create which gives an 'Access Denied' message.

Clearly the login link really shouldn't be displayed for someone who is already logged in and connected, perhaps it should just display a message like "Your account is successfully connected with your Facebook".

Or am I missing something? Thanks.

Comments

gunwald’s picture

I have the same problem.
I think, you can change that behaviour on the module's settings page »admin/config/people/fbconnect/apperance«. Changing the value for »Login/logout mode« to »auto«.

But It seems that there is a bug anyway, because because you should not get that »Access Denied« message.

slhemanthkumar’s picture

Issue summary: View changes
Status: Active » Needs work
StatusFileSize
new1.21 KB

I have also faced the same issue and fixed it in my local. Attaching a patch file for the same and try apply the patch, the issue would be fix.

Please review and push the patch in next release.

Thanks,
Hemanth

slhemanthkumar’s picture

Just changed the description message inside the login block.