severity 761637 important
kthxbye
On Mon, 15 Sep 2014 11:36:14 +0200
"Marc Dequènes (Duck)" <[email protected]> wrote:
> After upgrading from 1.2.2-5 to 1.2.2-5.1, the
> appearance/password_hash setting is not accepted anymore, leading to
> the following message:
> Function error called incorrectly [ERROR: Setting a index
> [appearance,password_hash] that isnt predefined.]
>
> I set this parameter with:
> $servers->setValue('appearance','password_hash','ssha');
> similarly as in /usr/share/phpldapadmin/config/config.php.example.
Unfortunately, the PHP 5.5 compatibility fix applies in 1.2.2-5.1 is
incomplete.
The setting is no longer called "password_hash" but "password_hash_custom".
In /usr/share/phpldapadmin/lib/TemplateRender.php line 2469, "password_hash"
has to be replaced by "password_hash_custom".
Additionally, the example configuration files need to be updated to reflect
the new name of this configuration setting.
Raising severity to important as all entries containing a password fields are
impossible to create/edit. Other entries seem to be fine.
Cheers,
sur5r
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]