Skip to content
Snippets Groups Projects
Commit 81289842 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Fix wrong variable path

parent fe24ef42
Branches
No related tags found
1 merge request!3v1.1.0
Pipeline #2899 passed
......@@ -80,7 +80,7 @@ export class UserService {
),
mergeMap(() => {
return this._http.post<ILoginResponse>(
`${APP_CONFIG.authentication}login/legacy`,
`${APP_CONFIG.authentication.url}login/legacy`,
form,
{ withCredentials: true },
);
......@@ -94,15 +94,15 @@ export class UserService {
}
logout(): Observable<boolean> {
return this._http.get<boolean>(`${APP_CONFIG.authentication}logout`, { withCredentials: true });
return this._http.get<boolean>(`${APP_CONFIG.authentication.url}logout`, { withCredentials: true });
}
getUserInfo(): Observable<IUserInfo> {
return this._http.get<IUserInfo>(`${APP_CONFIG.authentication}user`, { withCredentials: true });
return this._http.get<IUserInfo>(`${APP_CONFIG.authentication.url}user`, { withCredentials: true });
}
getPublicKey(): Observable<any> {
return this._http.get<any>(`${APP_CONFIG.middlewareLegacyAuth}publicKey`).pipe(
return this._http.get<any>(`${APP_CONFIG.middlewareLegacyAuth.url}publicKey`).pipe(
map(
(res) => {
return res.publicKey;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment