vue-sellsuki-auth-2
Advanced tools
Comparing version 2.5.4 to 2.5.5
@@ -31,4 +31,4 @@ /* global localStorage */ | ||
scope.router = options.router ? options.router : {} | ||
scope.extend = options.extend ? options.extend : true | ||
scope.authMiddleware = options.authMiddleware ? options.authMiddleware : true | ||
scope.extend = options.extend === undefined ? true : options.extend | ||
scope.authMiddleware = options.authMiddleware === undefined ? true : options.authMiddleware | ||
scope.public = options.public ? scope.public.concat(options.public) : scope.public | ||
@@ -35,0 +35,0 @@ if (scope.extend) { |
{ | ||
"name": "vue-sellsuki-auth-2", | ||
"version": "2.5.4", | ||
"version": "2.5.5", | ||
"description": "vue-sellsuki-auth new version", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,2 +20,3 @@ Sellsuki Auth v2 | ||
* Component error on vue 2.5.* so fixed it to support both < 2.5 > versions (2.5.2) | ||
* Fix authMiddleware and Extend option's flag check (2.5.5) | ||
@@ -86,3 +87,3 @@ ## Requirement | ||
### getAuthStatus [bool] | ||
### checkAuth | ||
Check auth data manually, If it's not valid then redirect to portal | ||
@@ -146,1 +147,2 @@ | ||
``` | ||
14895
146