that functionality does not require the complexity of the nested if
statements.  I'm just making a case that it could be more linear.

1. get the user if nickname exists
2. if plugin finds user via an alias or email then it will return the user
object

~jim



On Wed, Nov 18, 2009 at 8:37 AM, Evan Prodromou <[email protected]>wrote:

> jim sloan wrote:
>
>> An Event::handle for StartCheckPassword has been added to the
>> common_check_user() function to enable the Authentication plugin.
>>
>> To  me the changes seem too complex.
>>
> Jim: we want to give plugins a chance to load a user based on a different
> profile value, like email address.
>
> -Evan
>
> --
> Evan Prodromou
> CEO, Control Yourself, Inc.
> [email protected] - http://identi.ca/evan - +1-514-554-3826
>
>
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to