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:
1 parent
a58be39d6f
commit
646cdd6bc1
1 file changed
+3
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user