Changeset 6449 for trunk/src/includes/admin/converters/AEF.php
- Timestamp:
- 06/01/2017 07:14:43 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/AEF.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/AEF.php
r5951 r6449 571 571 * converter. 572 572 */ 573 public function info() 574 { 573 public function info() { 575 574 return ''; 576 575 } … … 581 580 * as one value. Array values are auto sanitized by WordPress. 582 581 */ 583 public function callback_savepass( $field, $row ) 584 { 582 public function callback_savepass( $field, $row ) { 585 583 $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] ); 586 584 return $pass_array; … … 591 589 * to a pass the user has typed in. 592 590 */ 593 public function authenticate_pass( $password, $serialized_pass ) 594 { 591 public function authenticate_pass( $password, $serialized_pass ) { 595 592 $pass_array = unserialize( $serialized_pass ); 596 593 return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
Note: See TracChangeset
for help on using the changeset viewer.