authlify-js
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -59,3 +59,3 @@ 'use strict'; | ||
if (remember) { | ||
_this.persistSession(user); | ||
user.persistSession(user); | ||
} | ||
@@ -62,0 +62,0 @@ return user; |
@@ -67,3 +67,3 @@ 'use strict'; | ||
value: function logout() { | ||
return this.request('/logout', { method: 'POST' }).then(this.clearSession.bind(this)); | ||
return this.request('/logout', { method: 'POST' }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this)); | ||
} | ||
@@ -70,0 +70,0 @@ }, { |
{ | ||
"name": "authlify-js", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Authlify API client for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
13467