Added delete user support.
This commit is contained in:
parent
88e2428a71
commit
980193c347
5 changed files with 191 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue