diff --git a/portal/login_reset.php b/portal/login_reset.php index a6201ff9..2b95b462 100644 --- a/portal/login_reset.php +++ b/portal/login_reset.php @@ -39,7 +39,7 @@ $ip = sanitizeInput(getIP()); $user_agent = sanitizeInput($_SERVER['HTTP_USER_AGENT']); // Get Company Info -$company_sql = mysqli_query($mysqli, "SELECT company_name FROM companies WHERE company_id = 1"); +$company_sql = mysqli_query($mysqli, "SELECT company_name, company_phone FROM companies WHERE company_id = 1"); $company_results = mysqli_fetch_array($company_sql); $company_name = sanitizeInput($company_results['company_name']); $company_phone = sanitizeInput(formatPhoneNumber($company_results['company_phone'])); @@ -79,7 +79,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { // Send reset email $subject = "Password reset for $company_name Client Portal"; - $body = "Hello $name,

Someone (probably you) has requested a new password for your account on $company_name\'s Client Portal.

Please click here to reset your password.

Alternatively, copy and paste this URL into your browser:
$url

If you didn't request this change, you can safely ignore this email.

--
$company_name - Support
$config_ticket_from_email
$company_phone"; + $body = "Hello $name,

Someone (probably you) has requested a new password for your account on $company_name\'s Client Portal.

Please click here to reset your password.

Alternatively, copy and paste this URL into your browser:
$url

If you didn\'t request this change, you can safely ignore this email.

--
$company_name - Support
$config_ticket_from_email
$company_phone"; $data = [ [