Huge config update and smtp fix for daemon

This commit is contained in:
Patrick Jentsch committed 2020-10-08 12:34:02 +02:00
1 parent 5e221d90ad
commit dff92cbf4d
43 files changed
+613 -1204

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ def register():
username=registration_form.username.data)
db.session.add(user)
db.session.commit()
user_dir = os.path.join(current_app.config['NOPAQUE_STORAGE'],
user_dir = os.path.join(current_app.config['DATA_DIR'],
str(user.id))
if os.path.exists(user_dir):
shutil.rmtree(user_dir)