mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Fixes 401 Unauthorized API responses being incorrectly cached
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user