mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Fix account deletion
This commit is contained in:
parent
f58a6f5778
commit
b8fa1e15d3
@ -61,9 +61,9 @@ def delete():
|
||||
"""
|
||||
View to delete yourslef and all associated data.
|
||||
"""
|
||||
logout_user()
|
||||
thread = Thread(target=delete_user_,
|
||||
args=(current_app._get_current_object(), current_user.id))
|
||||
thread.start()
|
||||
logout_user()
|
||||
flash('Your account has been deleted!')
|
||||
return redirect(url_for('main.index'))
|
||||
|
Loading…
Reference in New Issue
Block a user