This commit is contained in:
Matthias Mair 2025-01-10 02:52:28 +01:00
parent 5661b93910
commit bf82c4c269
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 1 additions and 3 deletions

View File

@ -74,15 +74,13 @@ export const doBasicLogin = async (
clearCsrfCookie();
await ensureCsrf();
const login_url = apiUrl(ApiEndpoints.auth_login);
let loginDone = false;
let success = false;
// Attempt login with
await api
.post(
login_url,
apiUrl(ApiEndpoints.auth_login),
{
username: username,
password: password