[RSS Feed/News] External logout

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
External login, link to the profile, etc seems to be working but the external logout link returns a message stating:

Security error occurred. Please press back, refresh the page, and try again.
Click to expand...

Code:

Code:
<?php echo '<a class="xenword_logout logout" href="' . \XF::app()->router()->buildLink( 'canonical:account' ) . '">Profile</a>'; ?>
<?php echo '<a class="xenword_logout logout" href="' . \XF::app()->router()->buildLink( 'canonical:logout', $visitor, array(
      '_xfToken' =>...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom