From 74756c940d8945df5ce026f86c5df2541ec42916 Mon Sep 17 00:00:00 2001
From: Baptiste Toulemonde <toulemonde@cines.fr>
Date: Thu, 15 Jul 2021 15:54:36 +0200
Subject: [PATCH] fix logout path

---
 src/app/authentication/services/auth.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/authentication/services/auth.service.ts b/src/app/authentication/services/auth.service.ts
index 6c88d160a..be1686c49 100644
--- a/src/app/authentication/services/auth.service.ts
+++ b/src/app/authentication/services/auth.service.ts
@@ -70,6 +70,6 @@ export class AuthService {
       })
     };
     this.tokenService.signOut();
-    return this.http.post(`${environment.smartharvesterUrl}/logout`, null, config);
+    return this.http.post(`${AUTH_API}/logout`, null, config);
   }
 }
-- 
GitLab