Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget committed Jul 1, 2012
1 parent ee05b1f commit aed7fda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ let UI = {
}
},
logout: function() {
localStorage.username = localStorage.password = null;
delete localStorage.username;
delete localStorage.password;
document.body.classList.remove("connected");
},
login: function() {
Expand Down

0 comments on commit aed7fda

Please sign in to comment.