@cimpress/simple-auth-wrapper
Advanced tools
Comparing version 6.3.1 to 6.3.2
@@ -324,7 +324,3 @@ 'use strict'; | ||
if (forceLogin) { | ||
_this.removeToken(); | ||
} | ||
if (_this.isLoggedIn()) { | ||
if (_this.isLoggedIn() && !forceLogin) { | ||
return _Promise.resolve(true); | ||
@@ -331,0 +327,0 @@ } |
{ | ||
"name": "@cimpress/simple-auth-wrapper", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "A simple utility class to wrap basic Auth0 functionality", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -247,7 +247,3 @@ import Auth0 from 'auth0-js'; | ||
if (forceLogin) { | ||
this.removeToken(); | ||
} | ||
if (this.isLoggedIn()) { | ||
if (this.isLoggedIn() && !forceLogin) { | ||
return _Promise.resolve(true); | ||
@@ -254,0 +250,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
277367
1335