(20250429) - Fix Wrong Comment
This commit is contained in:
@@ -329,6 +329,7 @@ async def verify_otp(
|
||||
# Add the user's info to the 'id' map:
|
||||
otp_id = copy.deepcopy(inbound_data.id)
|
||||
otp_id["user"] = kwargs["session_info"]
|
||||
print("INPUT ID:", json.to_string(inbound_data))
|
||||
|
||||
# Perform actual verification:
|
||||
otp_response = await current_app.timed_otp_controller.verify(
|
||||
@@ -338,6 +339,7 @@ async def verify_otp(
|
||||
otp = inbound_data.otp
|
||||
)
|
||||
)
|
||||
print("OUTPUT:", json.to_string(otp_response))
|
||||
|
||||
# If the OTP failed:
|
||||
if not otp_response.success: return ResponseModel(
|
||||
@@ -382,8 +384,8 @@ async def verify_otp(
|
||||
"period": inbound_data.id.get("period"),
|
||||
"amount": inbound_data.id.get("amount"),
|
||||
"idClient": inbound_data.id.get("idClient"),
|
||||
"username": inbound_data.id.get("username"),
|
||||
"password": inbound_data.id.get("password")
|
||||
"username": inbound_data.username,
|
||||
"password": inbound_data.password
|
||||
}
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user