This commit is contained in:
Matthias Mair committed 2025-01-10 02:52:28 +01:00
1 parent 5661b93910
commit bf82c4c269
1 file changed
+1 -3
+1 -3
View File
@@ -74,15 +74,13 @@ export const doBasicLogin = async (
clearCsrfCookie(); clearCsrfCookie();
await ensureCsrf(); await ensureCsrf();
const login_url = apiUrl(ApiEndpoints.auth_login);
let loginDone = false; let loginDone = false;
let success = false; let success = false;
// Attempt login with // Attempt login with
await api await api
.post( .post(
login_url, apiUrl(ApiEndpoints.auth_login),
{ {
username: username, username: username,
password: password password: password