Changeset 6449 for trunk/src/includes/admin/converters/XMB.php
- Timestamp:
- 06/01/2017 07:14:43 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/XMB.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/XMB.php
r5951 r6449 624 624 * converter. 625 625 */ 626 public function info() 627 { 626 public function info() { 628 627 return ''; 629 628 } … … 634 633 * as one value. Array values are auto sanitized by WordPress. 635 634 */ 636 public function callback_savepass( $field, $row ) 637 { 635 public function callback_savepass( $field, $row ) { 638 636 $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] ); 639 637 return $pass_array; … … 644 642 * to a pass the user has typed in. 645 643 */ 646 public function authenticate_pass( $password, $serialized_pass ) 647 { 644 public function authenticate_pass( $password, $serialized_pass ) { 648 645 $pass_array = unserialize( $serialized_pass ); 649 646 return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
Note: See TracChangeset
for help on using the changeset viewer.