diff options
author | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-30 20:04:42 +0200 |
---|---|---|
committer | Ognjen Cirkovic <ciraboxkg@gmail.com> | 2022-04-30 20:04:42 +0200 |
commit | 45c519d53fee1124c2882c7b353cd930fd311f9e (patch) | |
tree | aa0221d1a0e609a3b070d1231d094148a36744ed /frontend/src/app/_services | |
parent | 0f4941df7a7655f95ecd9934ddb21484a1168e32 (diff) |
Stranica se refreshuje po dodeli tokena Guesta ili Usera da bi se refreshovala komunikacija preko webSocketa. Potrebno izmeniti u buducnosti.
Diffstat (limited to 'frontend/src/app/_services')
-rw-r--r-- | frontend/src/app/_services/auth.service.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/app/_services/auth.service.ts b/frontend/src/app/_services/auth.service.ts index 92920b24..68c29182 100644 --- a/frontend/src/app/_services/auth.service.ts +++ b/frontend/src/app/_services/auth.service.ts @@ -64,6 +64,7 @@ export class AuthService { addGuestToken() { this.getGuestToken().subscribe((token) => { this.authenticate(token); + location.reload(); }); } |