diff --git a/app/auth/views.py b/app/auth/views.py index b09c1f5dc8d52a6ab923019153cd9072213d9e3b..7a6a383645bec2b6a90be7d17aae54d2ce3ed2f3 100644 --- a/app/auth/views.py +++ b/app/auth/views.py @@ -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')