@websanova/vue-auth
Advanced tools
Comparing version 1.5.0-beta to 1.5.1-beta
@@ -17,3 +17,3 @@ { | ||
"version": "1.5.0-beta", | ||
"version": "1.5.1-beta", | ||
@@ -20,0 +20,0 @@ "repository": { |
@@ -9,2 +9,3 @@ # Vue Auth | ||
* [Demo](https://github.com/websanova/vue-auth#demo) | ||
* [User Data](https://github.com/websanova/vue-auth#user-data) | ||
* [Authentication](https://github.com/websanova/vue-auth#authentication) | ||
@@ -651,2 +652,7 @@ * [Privileges](https://github.com/websanova/vue-auth#privileges) | ||
### v1.5.x-beta | ||
* Added auth driver for "devise". | ||
* Updated docs to include info about parsing user data from server. | ||
### v1.4.x-beta | ||
@@ -653,0 +659,0 @@ |
@@ -450,9 +450,11 @@ var __utils = require('./lib/utils.js'), | ||
this.options.deviseAuth.tokens.forEach(function (tokenName) { | ||
if (headers[tokenName]) { | ||
token.push(headers[tokenName]); | ||
} | ||
}); | ||
return token.join(';'); | ||
if (headers['Access-Token']) { | ||
this.options.deviseAuth.tokens.forEach(function (tokenName) { | ||
if (headers[tokenName]) { | ||
token.push(headers[tokenName]); | ||
} | ||
}); | ||
return token.join(';'); | ||
} | ||
} | ||
@@ -459,0 +461,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
343244
2443
703