Skip to content
Snippets Groups Projects
Commit 1db630b7 authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

Add missing title into render_template

parent de2aacc2
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ def register(): ...@@ -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(): ...@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment