XenAPI icon indicating copy to clipboard operation
XenAPI copied to clipboard

Request - check if user is loged

Open AxelBriche opened this issue 9 years ago • 0 comments

It's possible with the API to know if an user is logged (and have the cookie) on Xenforo ?

if (\Drupal::currentUser()->isAnonymous()) { // is visitor on Drupal } else { // is logged on Drupal // check if the user is logged on xenforo (and have good cookie). If disconected on Xenforo, disconect the user in Drupal or connect the user on Xenforo (without the password, because already logged on Drupal). }

AxelBriche avatar Mar 02 '15 19:03 AxelBriche