From 515b4751d6fe4639cdd6c5511049cfe85a842d66 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Mon, 2 Dec 2019 11:55:53 +0100
Subject: [PATCH] Always send an event in case of keycloak changes

For example in case the token gets refreshed we want to advertise this to all clients.
---
 packages/auth/src/vpu-auth.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/auth/src/vpu-auth.js b/packages/auth/src/vpu-auth.js
index 406f68f3..4aa0cdd6 100644
--- a/packages/auth/src/vpu-auth.js
+++ b/packages/auth/src/vpu-auth.js
@@ -82,7 +82,7 @@ class VPUAuth extends VPULitElement {
                 newPerson = true;
             }
             this.personId = personId;
-            this._setLoginStatus(LoginStatus.LOGGED_IN);
+            this._setLoginStatus(LoginStatus.LOGGED_IN, true);
         } else {
             this.name = "";
             this.token = "";
-- 
GitLab