mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 19:05:39 +00:00
Account does not have username
This commit is contained in:
parent
b4d7f66e29
commit
3c59ba6f84
@ -114,7 +114,7 @@ class Account(db.Model):
|
|||||||
db.session.rollback()
|
db.session.rollback()
|
||||||
current_app.logger.error(
|
current_app.logger.error(
|
||||||
'Cannot delete account {0} from DB. DETAIL: {1}'.format(
|
'Cannot delete account {0} from DB. DETAIL: {1}'.format(
|
||||||
self.username, e))
|
self.name, e))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def get_user(self):
|
def get_user(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user