From c1f0b63101257942775a525bd071ca6f006caa38 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 17 Jan 2026 17:07:22 -0500 Subject: [PATCH] Fix login not passing master key if agent is client and agent and if MFA is enabled --- agent/modals/contact/contact_details.php | 169 ++++++++++++----------- login.php | 44 ++++-- 2 files changed, 119 insertions(+), 94 deletions(-) diff --git a/agent/modals/contact/contact_details.php b/agent/modals/contact/contact_details.php index e7896700..596c6b22 100644 --- a/agent/modals/contact/contact_details.php +++ b/agent/modals/contact/contact_details.php @@ -17,7 +17,7 @@ $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); $contact_name = nullable_htmlentities($row['contact_name']); $contact_title = nullable_htmlentities($row['contact_title']); -$contact_department =nullable_htmlentities($row['contact_department']); +$contact_department = nullable_htmlentities($row['contact_department']); $contact_phone_country_code = nullable_htmlentities($row['contact_phone_country_code']); $contact_phone = nullable_htmlentities(formatPhoneNumber($row['contact_phone'], $contact_phone_country_code)); $contact_extension = nullable_htmlentities($row['contact_extension']); @@ -196,87 +196,10 @@ ob_start();