acsi-core 0.1.85 → 0.1.87
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/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1482,11 +1482,11 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
1482
1482
|
color: "#A6A6AD"
|
|
1483
1483
|
}
|
|
1484
1484
|
}, "By signing in, you agree to our ", React__default.createElement("a", {
|
|
1485
|
-
href:
|
|
1485
|
+
href: "/terms",
|
|
1486
1486
|
target: "_blank",
|
|
1487
1487
|
rel: "noopener noreferrer"
|
|
1488
1488
|
}, "Terms"), " & ", React__default.createElement("a", {
|
|
1489
|
-
href:
|
|
1489
|
+
href: "/privacy",
|
|
1490
1490
|
target: "_blank",
|
|
1491
1491
|
rel: "noopener noreferrer"
|
|
1492
1492
|
}, "Privacy Policy"))))), role != "Admin" && role != 'LandingPage' && React__default.createElement(reactstrap.Col, {
|
|
@@ -1734,7 +1734,7 @@ var useLogin = function useLogin(onNavigate, trackEvent) {
|
|
|
1734
1734
|
};
|
|
1735
1735
|
return Promise.resolve(apiSendEmailCode(body)).then(function (res) {
|
|
1736
1736
|
var data = res.data;
|
|
1737
|
-
if (data.
|
|
1737
|
+
if (data.success) {
|
|
1738
1738
|
setIsScreenCode(true);
|
|
1739
1739
|
} else {
|
|
1740
1740
|
dispatch(setLoading(false));
|
|
@@ -1763,7 +1763,7 @@ var useLogin = function useLogin(onNavigate, trackEvent) {
|
|
|
1763
1763
|
role: role
|
|
1764
1764
|
})).then(function (res) {
|
|
1765
1765
|
var data = res.data;
|
|
1766
|
-
if (data.
|
|
1766
|
+
if (data.success) {
|
|
1767
1767
|
localStorage.clear();
|
|
1768
1768
|
var tokenJWT = data.data.token;
|
|
1769
1769
|
localStorage.setItem(ACCESS_TOKEN, tokenJWT);
|