I am trying to log out the user:
public function getSignOut ( } {AUTH:: People Out (); Return Redirection: From ('/'); }
However, when it kills this route:
Root :: find ('/', function () {if (auth :: Check ()) {back to 'log in';} other {back 'no login';}});
It gives that the user is still logged in. What can be the problem to help solve the problem and thank you in advance.
Comments
Post a Comment