Re: #19163 [Opn->Csd]: PEAR::Auth::setAuth() wrong call
| From: | Arnaud Limbourg | Date: | Sun, 01 Sep 2002 15:41:13 +0000 |
| Subject: | Re: #19163 [Opn->Csd]: PEAR::Auth::setAuth() wrong call | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8805@lists.php.net to get a copy of this message | ||
> Arnaud,
> Take a look at this message[1] on the pear-dev list.
> Would it work for your auth container to call setAuthData()
> and return true/false on fetchData() and have Auth call
> setAuth itself?
>
> [1]
> http://news.php.net/article.php?group=php.pear.dev&article=7926
>
> basically change this line:
> Auth::setAuth($user, $data);
> to
> Auth::setAuthData($data);
> return true;
Oh yes, i can do that easily ;))
Arnaud.