Hi,
Using local files editor I added to this file config.inc.php function that provides logging another algorithm. Specifically, these are:
<?php
$conf['password_hash'] = 'sha512';
$conf['password_verify'] = 'sha512_check';
function sha512_check($password, $hash)
{
$password = hash('sha512', $password);
return $password === $hash;
}
?>
I would need to put in the administration change passwords. Unfortunately passwords can not be changed when using this method. Is there any solution to fix it?
Piwigo version: 2.7.4
PHP version: 5.2.17
MySQL version: 5.5
I don't understand what "put in the administration change passwords" means
BTW do you have any reason to change the hash algorythm ? like shared users table with another software ?
If not you should really keep the default one which is far more secure (http://www.openwall.com/phpass)
Offline
Yeah, I share same table with user.
I need in administration change user password. Its possible?
Actual it password not change.