[SKY-7980] Patch Credential TOTP Over Webhook Logic (#4811)
This commit is contained in:
@@ -916,7 +916,7 @@ async def generate_cua_fallback_actions(
|
||||
# Try credential TOTP first (highest priority, doesn't need totp_url/totp_identifier)
|
||||
otp_value = try_generate_totp_from_credential(task.workflow_run_id)
|
||||
# Fall back to webhook/totp_identifier
|
||||
if not otp_value and (task.totp_verification_url or task.totp_identifier) and task.organization_id:
|
||||
if not otp_value and task.organization_id:
|
||||
LOG.info(
|
||||
"Getting verification code for CUA",
|
||||
task_id=task.task_id,
|
||||
|
||||
Reference in New Issue
Block a user