Commit 24e6abb3 authored by Ayolo's avatar Ayolo
Browse files

bleh

parent 7e278b14
......@@ -523,7 +523,7 @@ class utilisateur extends stdentity
*/
function is_password ( $password )
{
if ($this->pass === crypt($password, substr($this->pass,0,2)))
if ($this->pass == crypt($password, substr($this->pass,0,2)))
return true;
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment