]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/users/user.service.ts
Add account settings new design
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / users / user.service.ts
index 5c089d221a3b6d8cf0f57c4f872bc989c22facc1..6d1017fc9b0fc85ca364adb2e9fe45df6dc553b8 100644 (file)
@@ -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 = {