mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Fix account deletion
This commit is contained in:
		@@ -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'))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user