Re: #23408 [NEW]: Auth: getAuthData bug

From: Date: Tue, 29 Apr 2003 18:01:48 +0000
Subject: Re: #23408 [NEW]: Auth: getAuthData bug
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15726@lists.php.net to get a copy of this message
From:             jon at jellybob dot co dot uk
Operating system: Debian 3.0
PHP version:      4.3.2RC1
PHP Bug Type:     PEAR related
Bug description: Auth: getAuthData bug I don't know if I've just misunderstood the purpose of the option, but when I define the option db_fields for the DB driver it doesn't seem to put them anywhere. What I thought it should do is allow me to go $auth->getAuthData('uid') to get the uid field from my database.
Well, technically you can fetch your data (the one you put into the auth obj with setAuthData()) using $auth->getAuthData("data"); But I think as well that is not very intuitive and I sent a patch to martin. I'm waiting for an answer, so I can't tell anything more, though :-) Regards, Lorenzo

« previous php.pear.dev (#15726) next »