Skip to content
Snippets Groups Projects

Dashboard shows no authentication values error randomly

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -720,7 +720,8 @@ const connection = Penpal.connectToParent({
};
}
// Clone headers to be able destroy authentication first
// Clone headers to be able destroy authentication first.
// We need it because clients should be able reload page right after logout invocation and not wait until request completed
const headers = {...window.viamApi.getConfig().headers};
destroyAuthentication();
Loading