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/auth.php

    r2852 r3036  
    204204 
    205205     $cookie_admin = http::browserUID(DC_MASTER_KEY.$user_id. 
    206           crypt::hmac(DC_MASTER_KEY,$user_pwd)).bin2hex(pack('a32',$user_id)); 
     206          $core->auth->crypt($user_pwd)).bin2hex(pack('a32',$user_id)); 
    207207 
    208208     if ($check_perms && $core->auth->mustChangePassword()) 
Note: See TracChangeset for help on using the changeset viewer.

Sites map