[horde] $this->registry['auth']['login'] = 'imp';
Alex Leverington
admin at networkessence.net
Sun Nov 11 15:41:53 PST 2001
I figured out one way to do it...
$authmethod = $registry->registry['auth']['login'];
Is this the best way to do it?
-Alex
Quoting Alex Leverington <admin at networkessence.net>:
>
>
> How do I see if
>
> $this->registry['auth']['login'] = 'imp';
>
> has been set or not in another applications (such as whups)?
>
> I'm working with whups right now. Whups need to validate/make use of users
> whether they are horde users, imp users, or local whups users. If the users
>
> are from imp, their usernames will be user at exmample.com instead of just
> plain 'user' (if $this->registry['auth']['login'] = 'imp'; is not set, then
>
> the user can be 'user'). Nonetheless, in whups, if $this->registry['auth']
> ['login'] = 'imp'; has been set, I want to use $backend->getUserFromEmail
> (Auth::getAuth()), else if it's not, then Auth::getAuth will be used. This is
>
> needed for three things. The ticket summary page, making changes to tickets,
>
> and the assignment backend.
>
> -Alex
>
> --
> Horde mailing list: http://horde.org/horde/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
More information about the horde
mailing list