fix: add Origin header to login test in deploy.py
This commit is contained in:
@@ -371,6 +371,7 @@ def verify_login() -> StepResult:
|
|||||||
resp = httpx.post(
|
resp = httpx.post(
|
||||||
url,
|
url,
|
||||||
json={"email": LOGIN_EMAIL, "password": LOGIN_PASSWORD},
|
json={"email": LOGIN_EMAIL, "password": LOGIN_PASSWORD},
|
||||||
|
headers={"Origin": APP_DOMAIN},
|
||||||
timeout=30,
|
timeout=30,
|
||||||
follow_redirects=True,
|
follow_redirects=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user