Include email in verification API

This commit is contained in:
sabaimran
2024-12-15 13:54:41 -08:00
parent 8e3313156e
commit 5d3da3340f
4 changed files with 6 additions and 6 deletions

View File

@@ -232,7 +232,7 @@ function EmailSignInContext({
const [otpError, setOTPError] = useState("");
function checkOTPAndRedirect() {
const verifyUrl = `/auth/magic?code=${otp}`;
const verifyUrl = `/auth/magic?code=${otp}&email=${email}`;
fetch(verifyUrl, {
method: "GET",