Add User Type to session, along with user type check

This commit is contained in:
johnnyq
2024-11-27 11:50:45 -05:00
parent 8eb32a09b2
commit 53c888c4b8
5 changed files with 14 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ if (isset($_POST['code']) && $_POST['state'] == session_id()) {
$_SESSION['client_logged_in'] = true;
$_SESSION['client_id'] = $client_id;
$_SESSION['user_id'] = $user_id;
$_SESSION['user_type'] = 2;
$_SESSION['contact_id'] = $contact_id;
$_SESSION['login_method'] = "azure";