Changeset 3036:7ed4286c8013 for admin/langs.php
- Timestamp:
- 07/03/15 17:03:26 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/langs.php
r2852 r3036 63 63 try 64 64 { 65 if (empty($_POST['your_pwd']) || !$core->auth->checkPassword( crypt::hmac(DC_MASTER_KEY,$_POST['your_pwd']))) {65 if (empty($_POST['your_pwd']) || !$core->auth->checkPassword($core->auth->crypt($_POST['your_pwd']))) { 66 66 throw new Exception(__('Password verification failed')); 67 67 } … … 106 106 try 107 107 { 108 if (empty($_POST['your_pwd']) || !$core->auth->checkPassword( crypt::hmac(DC_MASTER_KEY,$_POST['your_pwd']))) {108 if (empty($_POST['your_pwd']) || !$core->auth->checkPassword($core->auth->crypt($_POST['your_pwd']))) { 109 109 throw new Exception(__('Password verification failed')); 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.