diff --git a/frontends/web/app.py b/frontends/web/app.py index dce911f..44f6fed 100644 --- a/frontends/web/app.py +++ b/frontends/web/app.py @@ -374,7 +374,7 @@ def _register_stegasoo_routes(app: Flask) -> None: flash("Invalid username or password", "error") return render_template("login.html") - @app.route("/logout") + @app.route("/logout", methods=["POST"]) def logout(): auth_logout_user() flash("Logged out successfully", "success") diff --git a/frontends/web/templates/account.html b/frontends/web/templates/account.html index a179f8b..c891a66 100644 --- a/frontends/web/templates/account.html +++ b/frontends/web/templates/account.html @@ -157,6 +157,7 @@