Spaces:
Building
Building
Update flare-ui/src/app/services/auth.service.ts
Browse files
flare-ui/src/app/services/auth.service.ts
CHANGED
@@ -48,7 +48,7 @@ export class AuthService {
|
|
48 |
} as AuthError));
|
49 |
}
|
50 |
|
51 |
-
return this.http.post<LoginResponse>('/api/login', { username, password })
|
52 |
.pipe(
|
53 |
timeout(this.REQUEST_TIMEOUT),
|
54 |
retry({ count: 2, delay: 1000 }),
|
|
|
48 |
} as AuthError));
|
49 |
}
|
50 |
|
51 |
+
return this.http.post<LoginResponse>('/api/admin/login', { username, password })
|
52 |
.pipe(
|
53 |
timeout(this.REQUEST_TIMEOUT),
|
54 |
retry({ count: 2, delay: 1000 }),
|