Commit 95c627bf by Johannes Zellner

Fix logout

1 parent a58f99ad
Showing with 2 additions and 2 deletions
...@@ -27,8 +27,8 @@ function login(username, password) { ...@@ -27,8 +27,8 @@ function login(username, password) {
function logout() { function logout() {
app.session.valid = false; app.session.valid = false;
app.session.username = username; app.session.username = null;
app.session.password = password; app.session.password = null;
delete localStorage.username; delete localStorage.username;
delete localStorage.password; delete localStorage.password;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!