Announcement

#1 2015-03-14 13:06:30

JakubAjty
Guest

Change password in administration for this login method

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

 

#2 2015-03-14 13:20:13

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Change password in administration for this login method

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

 

#3 2015-03-14 13:31:42

JakubAjty
Guest

Re: Change password in administration for this login method

Yeah, I share same table with user.

I need in administration change user password. Its possible?

Actual it password not change.

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact