websanova / vue-auth

A simple light-weight authentication library for Vue.js
MIT License
2.36k stars 380 forks source link

Fix redirect on invalid token request #673

Closed zorn-v closed 2 years ago

zorn-v commented 2 years ago

Currently redirect to "login" route does not perform on "invalid token request" as invalid object passed to router ({redirect: {path: '/login'}} with default options). Actual redirect is performing on next route change now (as token cleared).

websanova commented 2 years ago

Ok fixed in 4.1.8, thx :-)