From c33783897a502e60bea199c9f7fa8bb0cc6da970 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=20K=C3=A4sler?= <tom.kaesler@mni.thm.de>
Date: Sat, 25 May 2019 00:24:55 +0200
Subject: [PATCH] Add slash in password reset endpoint

---
 src/app/services/http/authentication.service.ts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/app/services/http/authentication.service.ts b/src/app/services/http/authentication.service.ts
index 32896f412..bc6734597 100644
--- a/src/app/services/http/authentication.service.ts
+++ b/src/app/services/http/authentication.service.ts
@@ -67,7 +67,12 @@ export class AuthenticationService {
   }
 
   resetPassword(email: string): Observable<boolean> {
-    const connectionUrl: string = this.apiUrl.v2 + this.apiUrl.user + email + this.apiUrl.resetPassword;
+    const connectionUrl: string =
+        this.apiUrl.v2 +
+        this.apiUrl.user +
+        '/' +
+        email +
+        this.apiUrl.resetPassword;
 
     return this.http.post(connectionUrl, {
       key: null,
-- 
GitLab