SMF::authenticate_pass( $password, $serialized_pass )
This method is to take the pass out of the database and compare to a pass the user has typed in.
Description
Source
File: bp-forums/admin/converters/SMF.php
public function authenticate_pass( $password, $serialized_pass ) { $pass_array = unserialize( $serialized_pass ); return ( $pass_array['hash'] === sha1( strtolower( $pass_array['username'] ) . $password ) ? true : false ); }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.