Dotclear


Ignore:
Timestamp:
07/03/15 17:03:26 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Centralizes crypt function of pwd in class.Dotclear.auth.php, closes #1923

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r3003 r3036  
    102102     try 
    103103     { 
    104           $pwd_check = !empty($_POST['cur_pwd']) && $core->auth->checkPassword(crypt::hmac(DC_MASTER_KEY,$_POST['cur_pwd'])); 
     104          $pwd_check = !empty($_POST['cur_pwd']) && $core->auth->checkPassword($core->auth->crypt($_POST['cur_pwd'])); 
    105105 
    106106          if ($core->auth->allowPassChange() && !$pwd_check && $user_email != $_POST['user_email']) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map