aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/users')
-rw-r--r--client/src/app/shared/users/user.service.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/client/src/app/shared/users/user.service.ts b/client/src/app/shared/users/user.service.ts
index 5c089d221..6d1017fc9 100644
--- a/client/src/app/shared/users/user.service.ts
+++ b/client/src/app/shared/users/user.service.ts
@@ -15,13 +15,6 @@ export class UserService {
15 private restExtractor: RestExtractor 15 private restExtractor: RestExtractor
16 ) {} 16 ) {}
17 17
18 checkTokenValidity () {
19 const url = UserService.BASE_USERS_URL + 'me'
20
21 // AuthHttp will redirect us to the login page if the token is not valid anymore
22 this.authHttp.get(url).subscribe()
23 }
24
25 changePassword (newPassword: string) { 18 changePassword (newPassword: string) {
26 const url = UserService.BASE_USERS_URL + 'me' 19 const url = UserService.BASE_USERS_URL + 'me'
27 const body: UserUpdateMe = { 20 const body: UserUpdateMe = {