[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
this.$cookies.keys().forEach(key => this.$cookies.remove(key));
}
// Already contains valid token / TODO: Validate
// TODO: Update token each access
this.$emit('login:token', this.$cookies.get('va.token'));
else
{
// Already contains valid token / TODO: Validate
// TODO: Update token each access
this.$emit('login:token', this.$cookies.get('va.token'));
}
}
else
{