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