Changeset 3036:7ed4286c8013 for plugins/antispam/inc/lib.dc.antispam.php
- Timestamp:
- 07/03/15 17:03:26 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/inc/lib.dc.antispam.php
r2823 r3036 134 134 $code = 135 135 pack('a32',$core->auth->userID()). 136 pack('H*', crypt::hmac(DC_MASTER_KEY,$core->auth->getInfo('user_pwd')));136 pack('H*',$core->auth->crypt($core->auth->getInfo('user_pwd'))); 137 137 return bin2hex($code); 138 138 } … … 161 161 } 162 162 163 if ( crypt::hmac(DC_MASTER_KEY,$rs->user_pwd) != $pwd) {163 if ($core->auth->crypt($rs->user_pwd) != $pwd) { 164 164 return false; 165 165 }
Note: See TracChangeset
for help on using the changeset viewer.