@websanova/vue-auth
Advanced tools
Comparing version 3.1.4-beta to 3.1.5-beta
@@ -17,3 +17,3 @@ { | ||
"version": "3.1.4-beta", | ||
"version": "3.1.5-beta", | ||
@@ -20,0 +20,0 @@ "repository": { |
@@ -338,4 +338,2 @@ import * as __utils from './lib/utils.js'; | ||
function _processLogout(redirect) { | ||
// __cookie.remove.call(__auth, __auth.options.rememberKey); | ||
__cookie.remove.call(__auth, __auth.options.tokenImpersonateKey); | ||
@@ -346,2 +344,4 @@ __cookie.remove.call(__auth, __auth.options.tokenDefaultKey); | ||
__token.remove.call(__auth, __auth.options.tokenDefaultKey); | ||
__token.remove.call(__auth, __auth.options.staySignedInKey); | ||
@@ -356,4 +356,4 @@ __auth.$vm.loaded = true; | ||
function _processImpersonate(defaultToken, redirect) { | ||
__token.set.call(__auth, __auth.options.tokenImpersonateKey, __auth.token(), __token.get.call(__auth, __auth.options.staySignedInKey)); | ||
__token.set.call(__auth, __auth.options.tokenDefaultKey, defaultToken, __token.get.call(__auth, __auth.options.staySignedInKey)); | ||
__token.set.call(__auth, __auth.options.tokenImpersonateKey, __auth.token(), __token.get.call(__auth, __auth.options.staySignedInKey) ? false : true); | ||
__token.set.call(__auth, __auth.options.tokenDefaultKey, defaultToken, __token.get.call(__auth, __auth.options.staySignedInKey) ? false : true); | ||
__auth.$vm.impersonating = true; | ||
@@ -513,3 +513,3 @@ | ||
else { | ||
expires = (expires === true || expires === false) ? expires : __token.get.call(__auth, __auth.options.staySignedInKey); | ||
expires = (expires === true || expires === false) ? expires : (__token.get.call(__auth, __auth.options.staySignedInKey) ? false : true); | ||
@@ -516,0 +516,0 @@ __token.set.call(__auth, name, token, expires); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83380
2976