Re: LiveUser login_handle aliasing
| From: | Lukas Smith | Date: | Fri, 14 Apr 2006 13:45:18 +0000 |
| Subject: | Re: LiveUser login_handle aliasing | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42214@lists.php.net to get a copy of this message | ||
Matthias Nothhaft wrote:
Hm.. I guess I should subclass/modify the auth container (readUserData()). This would be a nice place to add handle aliasing, e.g. SQL this way: "...WHERE (handle=$handle OR $alias1=$handle ...) AND passwd=$passwd" It would be very useful to have a reliable handle aliasing. One could simple provide this feature by a simple config option in the storage container configuration, e.g. this way: 'login_handle_alias' = 'email,auth_user_id'Hmm file a feature request. Should not be all that hard to add indeed. Though the option should be an array instead of a string. BTW: I would also appreciate some testing of the current CVS code .. regards, Lukas