locust-cloud 1.11.5__py3-none-any.whl → 1.11.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- locust_cloud/auth.py +5 -1
- locust_cloud/webui/dist/assets/{index-YOaz77bi.js → index-j3NU-8ht.js} +81 -81
- locust_cloud/webui/dist/index.html +1 -1
- {locust_cloud-1.11.5.dist-info → locust_cloud-1.11.7.dist-info}/METADATA +1 -1
- {locust_cloud-1.11.5.dist-info → locust_cloud-1.11.7.dist-info}/RECORD +7 -7
- {locust_cloud-1.11.5.dist-info → locust_cloud-1.11.7.dist-info}/WHEEL +0 -0
- {locust_cloud-1.11.5.dist-info → locust_cloud-1.11.7.dist-info}/entry_points.txt +0 -0
locust_cloud/auth.py
CHANGED
@@ -351,7 +351,7 @@ def register_auth(environment: locust.env.Environment):
|
|
351
351
|
},
|
352
352
|
],
|
353
353
|
"callback_url": f"{web_base_path}/confirm-reset-password",
|
354
|
-
"submit_button_text": "
|
354
|
+
"submit_button_text": "Set Password",
|
355
355
|
},
|
356
356
|
"info": "You must set a new password",
|
357
357
|
}
|
@@ -408,6 +408,10 @@ def register_auth(environment: locust.env.Environment):
|
|
408
408
|
session["auth_info"] = "Password reset successfully! Please login"
|
409
409
|
session["auth_error"] = ""
|
410
410
|
|
411
|
+
if session.get("challenge_session"):
|
412
|
+
session["challenge_session"] = ""
|
413
|
+
return redirect("https://docs.locust.cloud/")
|
414
|
+
|
411
415
|
return redirect(url_for("locust.login"))
|
412
416
|
except requests.exceptions.HTTPError as e:
|
413
417
|
message = e.response.json().get("Message", "An unexpected error occured. Please try again.")
|