diff --git a/locust/web.py b/locust/web.py index 004d85a62b..90c41fcde2 100644 --- a/locust/web.py +++ b/locust/web.py @@ -550,8 +550,7 @@ def login(): self.auth_args["info"] = session.get("auth_info", None) return render_template_from( - "auth.html", - auth_args=self.auth_args, + "auth.html", auth_args=self.auth_args, auth_title=self.auth_args.get("title", "Locust") ) @app_blueprint.route("/user", methods=["POST"]) diff --git a/locust/webui/auth.html b/locust/webui/auth.html index 734a801d73..4f1c727909 100644 --- a/locust/webui/auth.html +++ b/locust/webui/auth.html @@ -7,7 +7,7 @@ - Locust + {{ auth_title | default("Locust") }}