Re: Re: LiveUser login_handle aliasing
| From: | Matthias Nothhaft | Date: | Fri, 14 Apr 2006 14:08:24 +0000 |
| Subject: | Re: Re: LiveUser login_handle aliasing | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42215@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
> 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.
I wonder if this must also be handled in the LU_Admin package ?
>
> BTW: I would also appreciate some testing of the current CVS code ..
I'm about to update some parts of my framework using the current CVS
(MDB2, MDB_Schema, LiveUser[_Admin]) - but it will take some more days...
I will immediately cry if I find something strange! ;-)
Regards,
Matthias