Closed michael closed 8 years ago
If you reload you want to stay logged in.
Done. There are some edge cases I haven't covered yet, if the server goes down and there is no valid session anymore. In such a case do localStorage.clear();
localStorage.clear()
Working now.
If you reload you want to stay logged in.