From bcd9f81eff05ffd930c5d8175fb907d4d371432a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Oct 2017 17:31:11 +0200 Subject: Add channels to upload form --- client/src/app/shared/users/user.service.ts | 7 ------- 1 file changed, 7 deletions(-) (limited to 'client/src/app/shared/users') 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 { private restExtractor: RestExtractor ) {} - checkTokenValidity () { - const url = UserService.BASE_USERS_URL + 'me' - - // AuthHttp will redirect us to the login page if the token is not valid anymore - this.authHttp.get(url).subscribe() - } - changePassword (newPassword: string) { const url = UserService.BASE_USERS_URL + 'me' const body: UserUpdateMe = { -- cgit v1.2.3