[horde] IMP preauthenticate hook - choosing server - working solution
Michael M Slusarz
slusarz at horde.org
Tue Nov 29 08:25:23 UTC 2011
Quoting Jan Schneider <jan at horde.org>:
> Zitat von Peter Stamfest <peter at stamfest.at>:
>
>> Hello List, hello Christopher,
>>
>> [I just subscribed to the ML, so I cannot easily reply to current threads]
>>
>> Regarding the issue to choose a mail server backend in the IMP
>> preauthenticate hook I seem to have found a working solution:
>>
>> public function preauthenticate($userId, $credentials)
>> {
>> // magically set $key
>> $credentials['imp_server_key'] = $key;
>>
>> return array('credentials' => $credentials);
>> }
>>
>> It took me some time of frustrating googling and trial-and-error before
>> I bit the bullet and read the code - the documentation clearly mentions
>> the 'server' key, so this is either a bug in the code or the docs.
>
> Then please create a bug ticket or update the wiki if this is where
> you got the hook from.
This has been fixed in IMP 5.0.16.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list