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

    r2852 r3036  
    3737if (!$core->error->flag() && $blog_id && !empty($_POST['del'])) 
    3838{ 
    39      if (!$core->auth->checkPassword(crypt::hmac(DC_MASTER_KEY,$_POST['pwd']))) { 
     39     if (!$core->auth->checkPassword($core->auth->crypt($_POST['pwd']))) { 
    4040          $core->error->add(__('Password verification failed')); 
    4141     } else { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map