Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorsuthern
     

    I'm attempting to use the admin plugin to handle users, but have run into an interesting problem.

    When I 'login', a window appears asking for my name/password.

    To logout, I've created this function

    function sign_out() {
        unset($_SESSION['__CurrentUser']);
        unset($this->CurrentUser);
        //$this->redirectTo(array());
    }
    

    it works, but when I login again, no window appears to prompt me for a username and password. When I do a print_r($this), I can see that my username and password are being sent in the request as PHP_AUTH_USER and PHP_AUTH_PW.

    How do I unset those so I can get the username and password prompt again? (besides closing the browser window)

    • CommentAuthorKaste
     

    google for 'http auth logout'. we had this question last week?

    • CommentAuthorsuthern
     

    Ah, and I must have a short memory. Thanks anyway Kaste! I wish you merry weekend, despite posters who repeat themselves.

    • CommentAuthorsuthern
     

    FYI: I'm not using http auth any more, but whatever the new version of the plugin uses.