XMB::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 Description


Source Source

File: includes/admin/converters/XMB.php

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

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.