[sork] [passwd] small patch regarding username with an @

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue Apr 1 14:44:24 PST 2003


Quoting Matthias Blaser <mb-list at adfinis.ch>:

> hi,
>
> when using the password module with a username containing an @, the username
> for changing the password will not be initialized correctly, cause all text
> after the first @ will be removed...

There is a hook to change this behaviour if you need it done differently.

> this small patch [1] fixes this --> only the text after the _last_ @ will be
> removed.

Most people only have one @ sign, so the patch doesn't seem to help 99% of
the user base.  Very few people have more than one @ sign in their logins.

Have you tried using the hook instead?

> cya,
> matthias
>
> [1] http://support.adfinis.ch/passwd/main.php.diff
> --
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
>


--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the sork mailing list