Compare commits
No commits in common. "e4a10028b7e65a0370e224bb900917b59dd77734" and "0ce52de8cd8e835f24a8b334fd455b0d2d78e1c0" have entirely different histories.
e4a10028b7
...
0ce52de8cd
|
@ -78,8 +78,6 @@ def reset_password(token: str, password: str):
|
||||||
@Hook
|
@Hook
|
||||||
def update_user(user):
|
def update_user(user):
|
||||||
current_app.config["FG_AUTH_BACKEND"].update_user(user)
|
current_app.config["FG_AUTH_BACKEND"].update_user(user)
|
||||||
if not user.display_name:
|
|
||||||
user.display_name = "{} {}.".format(user.firstname, user.lastname[0])
|
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,10 +26,6 @@ level = "DEBUG"
|
||||||
|
|
||||||
[DATABASE]
|
[DATABASE]
|
||||||
# engine = "mysql" (default)
|
# engine = "mysql" (default)
|
||||||
host = "localhost"
|
|
||||||
user = "flaschengeist"
|
|
||||||
password = "flaschengeist"
|
|
||||||
database = "flaschengeist"
|
|
||||||
|
|
||||||
[FILES]
|
[FILES]
|
||||||
# Path for file / image uploads
|
# Path for file / image uploads
|
||||||
|
|
Loading…
Reference in New Issue