Commit 9618e81f by jaymehta

.

1 parent c45eea89
......@@ -222,7 +222,7 @@ const Signup = props => {
onChange={handleChange}
onBlur={handleBlur}
value={values.confirmPassword}
placeholder="Enter password"
placeholder="Re-enter password"
/>
{errors.confirmPassword && touched.confirmPassword && <span className="form-error">{errors.confirmPassword}</span>}
</div>
......@@ -266,7 +266,7 @@ const Signup = props => {
{errors.termsConditions && touched.termsConditions && <span className="form-error">{errors.termsConditions}</span>}
</div>
{isOtpSent && (
// true
// true isOtpSent
<>
<div className="input-group">
{/* <label>
......@@ -283,7 +283,7 @@ const Signup = props => {
<OtpTimer
initialTime={30}
role={props.type}
userData={{ mobileNo: values.mobile, name: values.fullname, email: values.email, password: values.password }}
userData={{ mobile: values.mobile, name: values.fullname, email: values.email, password: values.password }}
/>
</div>
<div>
......
......@@ -114,7 +114,7 @@ export const registerEndUser = async vendorData => {
identifier: vendorData.email,
password: vendorData.password
});
console.log("jwt", authUser);
console.log("jwt end user", authUser);
const config = {
headers: {
Authorization: `Bearer ${authUser.data.jwt}`,
......@@ -132,6 +132,7 @@ export const registerEndUser = async vendorData => {
};
const response = await axios.post(`${process.env.NEXT_PUBLIC_BACKEND_API_URL}/api/end-users`, data, config);
console.log("response end user", response)
return response;
};
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!