Fixes 401 Unauthorized API responses being incorrectly cached

This commit is contained in:
BinaryAlley committed 2024-12-25 18:34:49 +02:00
1 parent f246f0bf75
commit d6af519e17
37 files changed
+298 -174

No files matched your search

@@ -85,7 +85,7 @@
TotpCode: txtTotpCode.value,
ReturnUrl: returnUrlInput.value
};
const data = await callApiPostAsync('@_urlService.GetAbsoluteUrl("Login", "Auth")', formData);
const data = await callApiPostAsync('@_urlService.GetAbsoluteUrl("LoginPost", "Auth")', formData);
if (data && data.isTotpRequired === true) {
txtUsername.disabled = true;
txtPassword.disabled = true;