Fix User Role on setup

This commit is contained in:
johnnyq 2022-02-20 13:35:34 -05:00
parent c0f7c36fe5
commit 3038fb0672
1 changed files with 1 additions and 1 deletions

View File

@ -893,7 +893,7 @@ if(isset($_POST['add_user'])){
}
//Create Settings
mysqli_query($mysqli,"INSERT INTO user_settings SET user_id = $user_id, user_role = 6, user_default_company = 1");
mysqli_query($mysqli,"INSERT INTO user_settings SET user_id = $user_id, user_role = 3, user_default_company = 1");
$_SESSION['alert_message'] = "User <strong>$name</strong> created!";