cvs: pear /Auth Auth.php

From: Date: Tue, 09 Oct 2001 17:09:16 +0000
Subject: cvs: pear /Auth Auth.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-963@lists.php.net to get a copy of this message
mj Tue Oct 9 13:09:16 2001 EDT Modified files: /pear/Auth Auth.php Log: * Fix bug reported by Wolfram Kriesing. getPassword() has been nuked for now. # Still wondering why I never noticed that before ... Index: pear/Auth/Auth.php diff -u pear/Auth/Auth.php:1.4 pear/Auth/Auth.php:1.5 --- pear/Auth/Auth.php:1.4 Mon Sep 10 13:14:51 2001 +++ pear/Auth/Auth.php Tue Oct 9 13:09:16 2001 @@ -16,7 +16,7 @@ // | Authors: Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Auth.php,v 1.4 2001/09/10 17:14:51 mj Exp $ +// $Id: Auth.php,v 1.5 2001/10/09 17:09:16 mj Exp $ // /** @@ -402,20 +402,7 @@ */ function getUsername() { - return $this->user_data['username']; - } - - // }}} - // {{{ getPassword() - - /** - * Get the password - * - * @return string - */ - function getPassword() - { - return $this->user_data['password']; + return $GLOBALS['HTTP_SESSION_VARS']['auth']['username']; } // }}}

« previous php.pear.cvs (#963) next »