Re: PEAR::Auth::Container::DB
| From: | Vitaliy N. Kravchenko | Date: | Wed, 22 Jan 2003 17:31:35 +0000 |
| Subject: | Re: PEAR::Auth::Container::DB | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-12662@lists.php.net to get a copy of this message | ||
Paul Dorneanu wrote:
Hi. I thought if it would be a good ideea that the DB container class for Auth package should have a function to update user's information like the addUser($username, $password, $additional) function.... Another thing, what I find in PEAR::Auth.I want to use aditional data in user-data, something like: User row, field "active" must be '1', that user atemt to be authetificated (I want to deactivate accounts without deleting user record) but if I set in $params = array('db_fields' = 'active'); I can't find it in $a->getAuthData($data); In this case I use LoginCallbackFunction, to check other parameters of authendification, but I think it not very good solution. Another desavantage - why I can't set any callback as object->method($params..), like $a = &new Auth('DB', $params, array($obj, 'method_name', $params_to_method_name)).. Strange.. BTW: Maybe we should organizate list for pear-users, like pear-programing@... And there ask questions about how to do some things with PEAR packages..some tricks? ...or something like that.. Thank you.