add new component that sets the login state from the server

This commit is contained in:
Jacob Overgaard
2022-11-24 14:59:34 +01:00
parent fbe02f4a2f
commit 13c1a8d36a

View File

@@ -0,0 +1,4 @@
export default function() {
sessionStorage.setItem('is-authenticated', 'true');
history.replaceState(null, '', 'section');
}