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 5c21bff..db51be2 100644
--- a/src/mad-server.conf
+++ b/src/mad-server.conf
@@ -26,6 +26,8 @@ UserBackendMysql {
GroupByName "SELECT id, name FROM groups WHERE name = {GROUP}"
UserGroupTable "SELECT uid, gid FROM usergroups"
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}"
}
}