[F] Fix clear cookie issue

This commit is contained in:
Hykilpikonna
2019-11-04 16:23:40 -05:00
parent e1ef117dcd
commit d2ab7c059f
+6 -4
View File
@@ -33,10 +33,12 @@ export default class Login extends Vue
// Clear all cookies // Clear all cookies
this.$cookies.keys().forEach(key => this.$cookies.remove(key)); this.$cookies.keys().forEach(key => this.$cookies.remove(key));
} }
else
// Already contains valid token / TODO: Validate {
// TODO: Update token each access // Already contains valid token / TODO: Validate
this.$emit('login:token', this.$cookies.get('va.token')); // TODO: Update token each access
this.$emit('login:token', this.$cookies.get('va.token'));
}
} }
else else
{ {