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:
@@ -108,6 +108,9 @@ if (isset($_POST['submit']))
|
|||||||
$htp->deleteUser($_POST["existing_username"]);
|
$htp->deleteUser($_POST["existing_username"]);
|
||||||
$htp->deleteUser($_POST["username"]);
|
$htp->deleteUser($_POST["username"]);
|
||||||
$htp->addUser($_POST["username"],$_POST["password"]);
|
$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");
|
$msg = T_("Successfully updated user");
|
||||||
|
|||||||
Reference in New Issue
Block a user