Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Create a signout url?
MatthewAlan
New
I am working on a mobile style, and am going to completely redoing the menu, and I would like to pull the sign out button out of it, and put it in a different location. I have been able to do that with the sign in button, but not for the sign out. I am using iWebKit, and since I am not experienced with PHP I don't know what I am doing. I've managed to change the button from Sign In to Sign Out by checking the session. My problem is being able to produce a authenticated URL to sign out.
Here is the code for my sign button:
That was pretty easy, but how do I get the user to be able to sign out from my button? I think I have to use this:
Any help would be greatly appreciated.
Here is the code for my sign button:
<a class='SignInPopup' href='/index.php/entry/?Target=discussions'>Sign In</a></div>
That was pretty easy, but how do I get the user to be able to sign out from my button? I think I have to use this:
$Authenticator->SignOutUrl()
Any help would be greatly appreciated.
0
Comments
SignOutUrl(); ?>">Sign Out
<a href="???">Sign Out</a>
What do I put where the ??? is? It's already in a PHP statement, if that helps.
Just do a echo in PHP.
link