[horde] problems writing a hook, hook called as guest before successfull login?

Jan Schneider jan at horde.org
Wed Dec 17 23:27:06 UTC 2008

Zitat von Dominique LALOT <dom.lalot at gmail.com>:

> Hello,
> I try to write a hook for imp. I wanted to find a way to get  
> search_sources working with localsql in share mode.
> I did'nt understand why my hook was not working till I discovered  
> that my hook was called as guest before a successfull login. So I  
> try to get addressbooks for guest!
> What should I do and is it normal? In the log, it appears clearly  
> that imp hook is called before successfull login.

The hook is called again after the user logged in, but only for users  
that don't have the preference set already.

If you are successful, please send your hook as a patch against  


Do you need professional PHP or Horde consulting?

More information about the horde mailing list