Changeset 7352 for trunk/src/includes/admin/converters/SMF.php
- Timestamp:
- 11/14/2025 04:17:43 PM (10 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/converters/SMF.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/converters/SMF.php
r7006 r7352 677 677 public function authenticate_pass( $password, $serialized_pass ) { 678 678 $pass_array = unserialize( $serialized_pass ); 679 return ( $pass_array['hash'] === sha1( strtolower( $pass_array['username'] ) . $password )? true : false );679 return ( sha1( strtolower( $pass_array['username'] ) . $password ) === $pass_array['hash'] ? true : false ); 680 680 } 681 681
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)