Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit edc08403
authored
2024-03-07 16:03:32 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
otp
1 parent
097d774b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
components/signup/Signup.js
components/signup/Signup.js
View file @
edc0840
...
...
@@ -126,12 +126,12 @@ const Signup = props => {
setOtpSent
(
true
);
}
else
{
e
.
preventDefault
();
const
oneTimePassword
=
otp
.
join
(
""
)
const
otpRes
=
await
finishVendorOtpVerification
({
email
:
values
.
email
,
oneTimePassword
})
const
oneTimePassword
=
otp
.
join
(
""
)
;
const
otpRes
=
await
finishVendorOtpVerification
({
email
:
values
.
email
,
oneTimePassword
});
console
.
log
(
"otpRes"
,
otpRes
);
if
(
otpRes
.
data
.
ok
){
if
(
otpRes
.
data
.
ok
)
{
// router.push("/thank-you")
toast
.
success
(
"User registered successflly"
)
toast
.
success
(
"User registered successflly"
);
}
}
}}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment