2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fixed bug: Not adding interviewer to htgroup when chaning username

This commit is contained in:
Adam Zammit
2014-03-12 10:20:45 +11:00
parent a58be39d6f
commit 646cdd6bc1

View File

@@ -108,6 +108,9 @@ if (isset($_POST['submit']))
$htp->deleteUser($_POST["existing_username"]);
$htp->deleteUser($_POST["username"]);
$htp->addUser($_POST["username"],$_POST["password"]);
$htg = New Htgroup(HTGROUP_PATH);
$htg->deleteUserFromGroup($_POST["existing_username"],HTGROUP_INTERVIEWER);
$htg->addUserToGroup($_POST["username"],HTGROUP_INTERVIEWER);
}
$msg = T_("Successfully updated user");