diff --git a/app.py b/app.py index 4e8a187..565908e 100644 --- a/app.py +++ b/app.py @@ -233,6 +233,11 @@ def confirm_email(confirmation_key): flash("Incorrect confirmation key.") return redirect(url_for('user_dashboard')) +@app.route('/forgot_password/', methods=["GET", "POST"]) +def forgot_password(): + if request.method == "GET": + return redirect(url_for('login')) + @app.route('/user/', methods=["GET", "POST"]) @decorators.login_required def user_dashboard(): diff --git a/templates/login.html b/templates/login.html index eb71589..c043f8a 100644 --- a/templates/login.html +++ b/templates/login.html @@ -15,7 +15,14 @@ - +