Skip to content
Snippets Groups Projects
Commit 52b1b50f authored by igorwork's avatar igorwork
Browse files

Add comment.

parent 9724c656
No related branches found
No related tags found
1 merge request!42Dashboard shows no authentication values error randomly
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment