src/Controller/User.php
public function logout()
    {
        $this->core->auth()->invalidate();
        $this->router->map('GET', '/login', "Auth@showLogin", 'login-page');
        return $this->redirect();
    }
public function logout()
    {
        $this->core->auth()->invalidate();
        $this->router->map('GET', '/login', "Auth@showLogin", 'login-page');
        return $this->redirect();
    }
public function logout ( ) { $ this -> core -> auth ( ) -> invalidate ( ) ; $ this -> router -> map ( 'GET' , '/login' , "Auth@showLogin" , 'login-page' ) ; return $ this -> redirect ( ) ; }
Logout active page
Logout active page