Blank user info on logout
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
0b12ac9d20
commit
8f8a6887a0
@ -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));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user