(20250303) Added password during OTP verification.

This commit is contained in:
2025-03-03 14:48:24 +05:30
parent 522da7793a
commit 3e7be926da
+2 -1
View File
@@ -291,7 +291,7 @@ async def generate_otp(
@handle_cancelled_request() @handle_cancelled_request()
async def verify_otp( async def verify_otp(
inbound_headers: dict = None, inbound_headers: dict = None,
inbound_data: dict | VerifyTimedOTP = None, inbound_data: dict | VerifyTimedOTPRequestData = None,
inbound_files: dict = None, inbound_files: dict = None,
**kwargs **kwargs
): ):
@@ -366,6 +366,7 @@ async def verify_otp(
json = { json = {
"email": inbound_data.email, "email": inbound_data.email,
"clientName": inbound_data.username, "clientName": inbound_data.username,
"password": inbound_data.password,
"address": None, "address": None,
"phoneNo": phone_no, "phoneNo": phone_no,
"city": None, "city": None,