Added delete user support.

This commit is contained in:
Antonio de la Rosa 2025-11-02 18:03:46 +01:00
parent 88e2428a71
commit 980193c347
5 changed files with 191 additions and 3 deletions

View file

@ -60,7 +60,5 @@ class ServerTask(Task):
system_user.create_forms()
system_user.insert({'username': self.data['username'], 'home': self.data['home'], 'server_id': arr_server['id']})
#with self.connection.query('insert into systemuser (username, home, server_id) VALUES (%s, %s, %s)', [self.data['username'], self.data['home']]) as cursor:
return True