[dev] Patch for framework: Auth/sql.php

Jan Schneider jan at horde.org
Fri Jan 30 05:19:38 PST 2004


Zitat von Richard.Heggs at nottinghamcity.gov.uk:

> Hi List,
>
> I noticed that if 'showencryption' is set, the encryption type is appended
> to the password field.  However Auth/sql.php::_comparePasswords() thinks
> that it is prepended instead.
>
> This little patch converts (eg) '|^{crypt}|' to '|{crypt}$|'
>
> Tested on crypt.

According to the comments, the encryption type *should* be prepended, so
that is rather to fix than the type detection regexp.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list