Blank user info on logout

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2018-10-03 22:13:05 -07:00
parent 0b12ac9d20
commit 8f8a6887a0

View File

@ -666,7 +666,7 @@
logout: function(event) { logout: function(event) {
window.fetch("api/v1/users/logout", function(error, xhr) { window.fetch("api/v1/users/logout", function(error, xhr) {
this.user = null; this.user = this.name = this.password = this.username = this.who = null;
}.bind(this)); }.bind(this));
}, },