Active
Project:
OAuth Connector
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2013 at 23:54 UTC
Updated:
5 Feb 2013 at 23:54 UTC
Hi,
I have added the connector block to my user/register page. This is great, click it an you go to the facebook page, authorise, then you are returned to the user/register page with the form pre-populated.
However I would like to hide the connector block when the user returns to this page (as it's confusing to have it there if the user has already connected).
In theory I can remove it via hook_page_alter , but I don't know how to check if the user has already authorised. I had a look through the module source code, but I'm afraid I'm a bit lost.
Can anyone provide any suggestions / pointers?
Thanks in advance