Ver código fonte

config

master
Florian Eisenmenger 1 ano atrás
pai
commit
962d431b6f
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      matsen-tool/src/app/_services/account.service.ts

+ 1
- 1
matsen-tool/src/app/_services/account.service.ts Ver arquivo

@@ -26,7 +26,7 @@ export class AccountService {
}

login(email: string, password: string) {
return this.http.post<User>(`${environment.basePath}/auth`, { email, password })
return this.http.post<User>(`${environment.apiUrl}/auth`, { email, password })
.pipe(map(user => {
// store user details and jwt token in local storage to keep user logged in between page refreshes
localStorage.setItem('user', JSON.stringify(user));


Carregando…
Cancelar
Salvar