Invision::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/Invision.php

	public function authenticate_pass( $password, $serialized_pass ) {
		$pass_array = unserialize( $serialized_pass );
		return ( $pass_array['hash'] == md5( md5( $pass_array['salt'] ) . md5( $this->to_char( $password ) ) ) );
	}

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.