@veripass/react-sdk 1.0.23 → 1.0.25
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.esm.js
CHANGED
|
@@ -630,10 +630,7 @@ var AuthProvider = function AuthProvider(_ref) {
|
|
|
630
630
|
var currentPath = window.location.pathname;
|
|
631
631
|
var isWhitelisted = publicUrlsList.includes(currentPath);
|
|
632
632
|
if (user === null && !isWhitelisted) {
|
|
633
|
-
|
|
634
|
-
console.log(currentPath);
|
|
635
|
-
debugger;
|
|
636
|
-
//window.location.replace('/auth/login');
|
|
633
|
+
window.location.replace('/auth/login');
|
|
637
634
|
}
|
|
638
635
|
}
|
|
639
636
|
}, [user, isInitialized]);
|