public function clearLoginData()
    {
        //  Clear the session
        $oSession = Factory::service('Session', 'nails/module-auth');
        $oSession->unsetUserData('id');
        $oSession->unsetUserData('email');
        $oSession->unsetUserData('group_id');

        //  Set the flag
        $this->bIsLoggedIn = false;

        //  Reset the activeUser
        $this->clearActiveUser();

        //  Remove any remember me cookie
        $this->clearRememberCookie();
    }
public function clearLoginData()
    {
        //  Clear the session
        $oSession = Factory::service('Session', 'nails/module-auth');
        $oSession->unsetUserData('id');
        $oSession->unsetUserData('email');
        $oSession->unsetUserData('group_id');

        //  Set the flag
        $this->bIsLoggedIn = false;

        //  Reset the activeUser
        $this->clearActiveUser();

        //  Remove any remember me cookie
        $this->clearRememberCookie();
    }
public function clearLoginData ( ) { //  Clear the session $ oSession = Factory :: service ( 'Session' , 'nails/module-auth' ) ; $ oSession -> unsetUserData ( 'id' ) ; $ oSession -> unsetUserData ( 'email' ) ; $ oSession -> unsetUserData ( 'group_id' ) ; //  Set the flag $ this -> bIsLoggedIn = false ; //  Reset the activeUser $ this -> clearActiveUser ( ) ; //  Remove any remember me cookie $ this -> clearRememberCookie ( ) ; }
Clears the login data for a user

@return  void
Clears the login data for a user