[F] Fix clear cookie issue
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user