mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Add missing title into render_template
This commit is contained in:
parent
de2aacc2de
commit
1db630b74a
@ -48,7 +48,7 @@ def register():
|
||||
'auth/email/confirm', user=user, token=token)
|
||||
flash('A confirmation email has been sent to you by email.')
|
||||
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>')
|
||||
@ -77,7 +77,7 @@ def before_request():
|
||||
def unconfirmed():
|
||||
if current_user.is_anonymous or current_user.confirmed:
|
||||
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')
|
||||
|
Loading…
Reference in New Issue
Block a user