diff --git a/app/routes/auth.py b/app/routes/auth.py index 10ea0be..2579aef 100644 --- a/app/routes/auth.py +++ b/app/routes/auth.py @@ -16,7 +16,7 @@ def signup(): db.session.commit() flash("Account created successfully. Please log in.", "success") return redirect(url_for('auth.login')) - return render_template('reading/signup.html', form=form) + return render_template('auth/signup.html', form=form) @auth.route('/login', methods=['GET', 'POST']) def login(): @@ -28,7 +28,7 @@ def login(): flash("Logged in successfully.", "success") return redirect(url_for('main.dashboard')) flash("Invalid username or password.", "danger") - return render_template('reading/login.html', form=form) + return render_template('auth/login.html', form=form) @auth.route('/logout') @login_required