Changeset 3036:7ed4286c8013 for inc/admin
- Timestamp:
- 07/03/15 17:03:26 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.moduleslist.php
r3007 r3036 1172 1172 || !empty($_POST['fetch_pkg']) && !empty($_POST['pkg_url'])) 1173 1173 { 1174 if (empty($_POST['your_pwd']) || !$this->core->auth->checkPassword( crypt::hmac(DC_MASTER_KEY,$_POST['your_pwd']))) {1174 if (empty($_POST['your_pwd']) || !$this->core->auth->checkPassword($this->core->auth->crypt($_POST['your_pwd']))) { 1175 1175 throw new Exception(__('Password verification failed')); 1176 1176 } … … 1947 1947 || !empty($_POST['fetch_pkg']) && !empty($_POST['pkg_url'])) 1948 1948 { 1949 if (empty($_POST['your_pwd']) || !$this->core->auth->checkPassword( crypt::hmac(DC_MASTER_KEY,$_POST['your_pwd']))) {1949 if (empty($_POST['your_pwd']) || !$this->core->auth->checkPassword($this->core->auth->crypt($_POST['your_pwd']))) { 1950 1950 throw new Exception(__('Password verification failed')); 1951 1951 }
Note: See TracChangeset
for help on using the changeset viewer.