summaryrefslogtreecommitdiffstats
path: root/src/mad-server.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/mad-server.conf')
-rw-r--r--src/mad-server.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mad-server.conf b/src/mad-server.conf
index db51be2..76533cf 100644
--- a/src/mad-server.conf
+++ b/src/mad-server.conf
@@ -28,6 +28,8 @@ UserBackendMysql {
AddUser "INSERT INTO users (id, gid, username, fullname) VALUES ({UID}, {GID}, {USER}, {FULL_NAME})"
UpdateUser "UPDATE users SET id = {UID}, gid = {GID}, username = {USER}, fullname = {FULL_NAME} WHERE id = {ORIG_UID}"
DeleteUser "DELETE FROM users WHERE id = {UID}"
+ AddUserToGroup "INSERT INTO usergroups (uid, gid) VALUES ({UID}, {GID})"
+ DeleteUserFromGroup "DELETE FROM usergroups WHERE uid = {UID} AND gid = {GID}"
}
}