Commit 242371e3 by Ravindra Kanojiya
2 parents 0e19f79e 9618e81f
......@@ -224,7 +224,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>
......@@ -268,7 +268,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>
......@@ -285,7 +285,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!