mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Add missing title into render_template
This commit is contained in:
		@@ -48,7 +48,7 @@ def register():
 | 
				
			|||||||
                   'auth/email/confirm', user=user, token=token)
 | 
					                   'auth/email/confirm', user=user, token=token)
 | 
				
			||||||
        flash('A confirmation email has been sent to you by email.')
 | 
					        flash('A confirmation email has been sent to you by email.')
 | 
				
			||||||
        return redirect(url_for('auth.login'))
 | 
					        return redirect(url_for('auth.login'))
 | 
				
			||||||
    return render_template('auth/register.html.j2', form=form)
 | 
					    return render_template('auth/register.html.j2', form=form, title='Register')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@auth.route('/confirm/<token>')
 | 
					@auth.route('/confirm/<token>')
 | 
				
			||||||
@@ -77,7 +77,7 @@ def before_request():
 | 
				
			|||||||
def unconfirmed():
 | 
					def unconfirmed():
 | 
				
			||||||
    if current_user.is_anonymous or current_user.confirmed:
 | 
					    if current_user.is_anonymous or current_user.confirmed:
 | 
				
			||||||
        return redirect(url_for('main.index'))
 | 
					        return redirect(url_for('main.index'))
 | 
				
			||||||
    return render_template('auth/unconfirmed.html.j2')
 | 
					    return render_template('auth/unconfirmed.html.j2', title='Unconfirmed')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@auth.route('/confirm')
 | 
					@auth.route('/confirm')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user