From be04fb68f8612044a5aa5a34a89f4976647fa5ef Mon Sep 17 00:00:00 2001 From: Burathar Date: Sat, 18 Jul 2020 01:51:12 +0200 Subject: [PATCH] fix redirects --- app/auth/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/auth/routes.py b/app/auth/routes.py index 568b34e..fa5b123 100644 --- a/app/auth/routes.py +++ b/app/auth/routes.py @@ -17,7 +17,7 @@ def login(): return redirect(url_for('auth.login')) login_user(player, remember=form.remember_me.data) return redirect(url_for('main.index')) - return render_template('login.html', title='Sign In', form=form) + return render_template('auth/login.html', title='Sign In', form=form) @bp.route('/logout') @login_required @@ -38,4 +38,4 @@ def register(): db.session.commit() flash('Congratulations, you are now a registered user!') return redirect(url_for('auth.login')) - return render_template('register.html', title='Register', form=form) + return render_template('auth/register.html', title='Register', form=form)