mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-15 20:04:35 +00:00
Huge config update and smtp fix for daemon
This commit is contained in:
1 parent
5e221d90ad
commit
dff92cbf4d
43 files changed
+613
-1204
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user