mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-27 05:25:40 +00:00
commit
a1619cfde9
@ -83,7 +83,7 @@ class ApiKey(db.Model):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
msg_str = 'Update of apikey failed. Error: {0}'
|
msg_str = 'Update of apikey failed. Error: {0}'
|
||||||
current_app.logger.error(msg_str.format(e))
|
current_app.logger.error(msg_str.format(e))
|
||||||
db.session.rollback
|
db.session.rollback() # fixed line
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
def get_hashed_password(self, plain_text_password=None):
|
def get_hashed_password(self, plain_text_password=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user