mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 13:19:16 +00:00
Include email in verification API
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user