ciyidogan commited on
Commit
22a347d
·
verified ·
1 Parent(s): dc7a1b0

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 }),