Re: Unable to get _passwd_hook_username to wor k
Michael <[email protected]>
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Message-ID | <[email protected]> |
Jan Schneider <jan <at> horde.org> writes:
>
> You missed the probably most important information: how does you hook
> code look like?
>
> Jan.
>
The actual hook code didn't change other then changing the @example.com to my
domain.
// Here is an example _passwd_hook_username function to translate what the
// user enters, in the username box, into what the backend expects. If we want
// to add @example.com to the end of the username then enable the hook and use
// this function.
if (!function_exists('_passwd_hook_username')) {
function _passwd_hook_username($userid)
{
return $userid . '@domain.com';
}
}
--
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]