mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Small fix
This commit is contained in:
parent
967104b103
commit
47dc4e7068
2 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ function send_email_with_recover_key($email, $key) {
|
|||
$body_html = str_replace("%key%", $key, EMAIL_RECOVERY_BODY_HTML);
|
||||
Logger::getInstance()->debug("[EMAIL] Recovery html body is " . $body_html);
|
||||
|
||||
send_email($email, EMAIL_ACTIVATION_SUBJECT, $body, $body_html);
|
||||
send_email($email, EMAIL_RECOVERY_SUBJECT, $body, $body_html);
|
||||
Logger::getInstance()->message("[EMAIL] Email sent to email " . $email . " to recover the account");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -665,7 +665,7 @@ function xmlrpc_recover_email_account($method, $args) {
|
|||
$db = $database->getConnection();
|
||||
|
||||
$account = new Account($db);
|
||||
$account->username = $user;
|
||||
$account->username = $username;
|
||||
$account->domain = $domain;
|
||||
|
||||
if (!$account->getOne()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue