@veripass/react-sdk 1.0.23 → 1.0.24

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.
@@ -649,11 +649,11 @@ var AuthProvider = function AuthProvider(_ref) {
649
649
  if (isInitialized) {
650
650
  var currentPath = window.location.pathname;
651
651
  var isWhitelisted = publicUrlsList.includes(currentPath);
652
+ console.log(publicUrlsList);
653
+ console.log(currentPath);
652
654
  if (user === null && !isWhitelisted) {
653
- console.log(publicUrlsList);
654
- console.log(currentPath);
655
655
  debugger;
656
- //window.location.replace('/auth/login');
656
+ window.location.replace('/auth/login');
657
657
  }
658
658
  }
659
659
  }, [user, isInitialized]);