$this->registry['auth']['login'] = 'imp';

Alex Leverington admin at networkessence.net
Sun Nov 11 15:13:33 PST 2001



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




More information about the horde mailing list