@websanova/vue-auth
Advanced tools
Comparing version 2.21.2-beta to 2.21.3-beta
{ | ||
"dependencies": { | ||
"@websanova/vue-auth": "2.21.2-beta" | ||
"@websanova/vue-auth": "2.21.3-beta" | ||
}, | ||
@@ -5,0 +5,0 @@ |
{ | ||
"dependencies": { | ||
"@websanova/vue-auth": "2.21.2-beta", | ||
"@websanova/vue-auth": "2.21.3-beta", | ||
"axios": "0.16.2", | ||
@@ -5,0 +5,0 @@ "vue-axios": "2.0.2" |
{ | ||
"dependencies": { | ||
"nuxt": "1.0.0-rc3", | ||
"@websanova/vue-auth": "2.21.2-beta", | ||
"@websanova/vue-auth": "2.21.3-beta", | ||
"vue-resource": "1.3.4", | ||
@@ -6,0 +6,0 @@ "axios": "0.16.2", |
@@ -47,3 +47,3 @@ { | ||
"dependencies": { | ||
"@websanova/vue-auth": "2.21.2-beta", | ||
"@websanova/vue-auth": "2.21.3-beta", | ||
"axios": "^0.16.2", | ||
@@ -50,0 +50,0 @@ "compression": "^1.6.2", |
@@ -5,2 +5,3 @@ # Change Log | ||
* Add localhost check for cookies (IE Fix). | ||
* Add frisbee driver. | ||
@@ -7,0 +8,0 @@ * Fix bug with object compare for roles vars. |
@@ -17,3 +17,3 @@ { | ||
"version": "2.21.2-beta", | ||
"version": "2.21.3-beta", | ||
@@ -20,0 +20,0 @@ "repository": { |
@@ -5,5 +5,10 @@ module.exports = (function () { | ||
var domain = this.options.cookieDomain(), | ||
expires = (new Date((new Date()).getTime() + timeOffset)).toUTCString(); | ||
expires = (new Date((new Date()).getTime() + timeOffset)).toUTCString(), | ||
cookie = name + '=' + value + '; Expires=' + expires + ';'; | ||
if (domain !== 'localhost') { | ||
cookie += ' Path=/; Domain=' + domain + ';'; | ||
} | ||
document.cookie = name + '=' + value + '; Expires=' + expires + '; Path=/; Domain=' + domain + ';'; | ||
document.cookie = cookie; | ||
} | ||
@@ -10,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
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
767065
2539