@veripass/react-sdk 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react-sdk.cjs.js
CHANGED
|
@@ -674,7 +674,8 @@ var AuthProvider = function AuthProvider(_ref) {
|
|
|
674
674
|
var currentPath = window.location.pathname;
|
|
675
675
|
var isWhitelisted = publicUrlsList.includes(currentPath);
|
|
676
676
|
if (user === null && !isWhitelisted) {
|
|
677
|
-
|
|
677
|
+
debugger;
|
|
678
|
+
//window.location.replace('/auth/login');
|
|
678
679
|
}
|
|
679
680
|
}
|
|
680
681
|
}, [user, publicUrlsList, isInitialized]);
|