Add more log and history data

This commit is contained in:
Khanh Ngo
2019-12-16 11:01:16 +07:00
parent 4263bccbba
commit a891ed38e2
2 changed files with 56 additions and 8 deletions

View File

@ -183,7 +183,7 @@ def manage_user():
# Then delete the user
result = user.delete()
if result:
history = History(msg='Delete username {0}'.format(data),
history = History(msg='Delete user {0}'.format(data),
created_by=current_user.username)
history.add()
return make_response(