Commit 4511461b authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed email check failing because of case sensitive compare

parent 19a7ca05
Pipeline #7412 passed with stage
in 14 seconds
......@@ -673,7 +673,7 @@ function xmlrpc_recover_email_account($method, $args) {
return ACCOUNT_NOT_FOUND;
}
if ($email != $account->email) {
if (strcasecmp($email, $account->email) != 0) { // Email case insensitive compare
return EMAIL_DOESNT_MATCH;
}
......
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