summit-registration-lite 5.0.38 → 5.0.39
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 +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1516,9 +1516,8 @@ const goToLogin = () => (dispatch, getState) => {
|
|
|
1516
1516
|
};
|
|
1517
1517
|
const getLoginCode = (email, getPasswordlessCode) => async (dispatch, getState) => {
|
|
1518
1518
|
dispatch((0,actions_namespaceObject.createAction)(SET_PASSWORDLESS_LOGIN)(email));
|
|
1519
|
-
const encodeEmail = encodeURIComponent(email);
|
|
1520
1519
|
return new Promise((resolve, reject) => {
|
|
1521
|
-
getPasswordlessCode(
|
|
1520
|
+
getPasswordlessCode(email).then(res => {
|
|
1522
1521
|
dispatch((0,actions_namespaceObject.createAction)(SET_PASSWORDLESS_LENGTH)(res.response));
|
|
1523
1522
|
resolve(res);
|
|
1524
1523
|
}, err => {
|