Core/Security/Login/Autologin.php
public function removeAutoLoginTokenAndCookie(int $id)
    {
        $authtok = new AuthToken($this->db);
        $authtok->setId($id);
        $authtok->deleteUserToken();

        setcookie($this->cookie_name, '', 1, '/');
    }
public function removeAutoLoginTokenAndCookie(int $id)
    {
        $authtok = new AuthToken($this->db);
        $authtok->setId($id);
        $authtok->deleteUserToken();

        setcookie($this->cookie_name, '', 1, '/');
    }
public function removeAutoLoginTokenAndCookie ( int $ id ) { $ authtok = new AuthToken ( $ this -> db ) ; $ authtok -> setId ( $ id ) ; $ authtok -> deleteUserToken ( ) ; setcookie ( $ this -> cookie_name , '' , 1 , '/' ) ; }
Removes autologin cookies with user generated token

@param int $id
Removes autologin cookies with user generated token