forked from crunk/distribusi-verse
reformatted adminpage.py
This commit is contained in:
parent
37c1a7a1de
commit
8f960a1a3b
@ -46,7 +46,6 @@ def DeleteUsers(adminuserform):
|
||||
userform.errors.append(f"User {useremail} deleted!")
|
||||
|
||||
|
||||
|
||||
def DeleteUserFromDb(user):
|
||||
try:
|
||||
db.session.delete(user)
|
||||
|
Loading…
Reference in New Issue
Block a user