PHPFox3::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/PHPFox3.php
public function authenticate_pass( $password, $serialized_pass ) { $pass_array = unserialize( $serialized_pass ); return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) ); }
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.