mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Fixed email check failing because of case sensitive compare
This commit is contained in:
parent
19a7ca05f5
commit
4511461b5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue