mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Add automatic confirmation mail after changing e-mail adress.
This commit is contained in:
		@@ -139,6 +139,7 @@ def profile():
 | 
			
		||||
            current_user.confirmed = False
 | 
			
		||||
            db.session.add(current_user)
 | 
			
		||||
        db.session.commit()
 | 
			
		||||
        resend_confirmation()
 | 
			
		||||
        return redirect(url_for('auth.profile'))
 | 
			
		||||
    return render_template('auth/profile.html.j2', form=form,
 | 
			
		||||
                           title='Profile')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user