[fix] add empty install function for userController, fix wrong indention

This commit is contained in:
Tim Gröger 2021-12-03 09:49:10 +01:00
parent d0674e8876
commit f9d9494a36
1 changed files with 6 additions and 4 deletions

View File

@ -33,6 +33,10 @@ def _generate_password_reset(user):
return reset
def install():
pass
def login_user(username, password):
logger.info("login user {{ {} }}".format(username))
@ -197,8 +201,6 @@ def delete_user(user: User):
db.session.commit()
def register(data):
allowed_keys = User().serialize().keys()
values = {key: value for key, value in data.items() if key in allowed_keys}