[horde] Preauthenticate Hook - problems with retrieving $userId
Michael M Slusarz
slusarz at horde.org
Wed Dec 4 16:38:45 UTC 2013
Quoting Florian Schmidt <florian.schmidt787 at googlemail.com>:
> so, well, the examples in the preauthentication hook, where the userId is
> checked to be not equal "foo" (or Joe?) are not working for me. Does that
> mean my config of horde is wrong or that the examples are not right anymore?
> Either $userId is supposed to be not empty (as it is used in the
> preauthenticate hook example) or it should be used later (then I do get the
> example wrong)?
$userId can be empty. That is perfectly valid. This is a
**pre**authentication hook - it takes place before authentication,
when there may be no user id available (i.e. transparent
authentication).
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list