fix(qa11): use production admin credentials
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled

This commit is contained in:
kitos
2026-05-20 14:31:46 +02:00
parent 5e18db48d3
commit e550ebb30f

View File

@@ -29,7 +29,7 @@ def check(label: str, condition: bool, detail: str = ""):
print(msg) print(msg)
def get_token(username="admin", password="admin123"): def get_token(username="administrator", password="7qjmSz72MpVjyvewN8Gto4mm"):
# Auth router uses OAuth2PasswordRequestForm (form data) # Auth router uses OAuth2PasswordRequestForm (form data)
r = requests.post(f"{BASE}/auth/login", r = requests.post(f"{BASE}/auth/login",
data={"username": username, "password": password}) data={"username": username, "password": password})