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
  • plugins/importExport/inc/class.dc.import.flat.php

    r2485 r3036  
    9090          if ($full_upl !== null && $this->core->auth->isSuperAdmin()) 
    9191          { 
    92                if (empty($_POST['your_pwd']) || !$this->core->auth->checkPassword(crypt::hmac(DC_MASTER_KEY,$_POST['your_pwd']))) { 
     92               if (empty($_POST['your_pwd']) || !$this->core->auth->checkPassword($this->core->auth->crypt($_POST['your_pwd']))) { 
    9393                    throw new Exception(__('Password verification failed')); 
    9494               } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map