]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/auth/auth.service.ts
Client: add warning if the user want to embed a video of a non https website
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / auth / auth.service.ts
index a30c79c8685edafb59aa2bbdc6ba2d64afd17789..b7e0a44a76c8a40e0b8e5e091327d0ee6cfcc111 100644 (file)
@@ -159,8 +159,8 @@ export class AuthService {
                         this.router.navigate(['/login']);
 
                         return Observable.throw({
-                          json: '',
-                          text: 'You need to reconnect.'
+                          json: () => '',
+                          text: () => 'You need to reconnect.'
                         });
                       }