shu/fix caching with totp identifier or totp url (#4191)
This commit is contained in:
@@ -1580,6 +1580,11 @@ async def login(
|
|||||||
model=model,
|
model=model,
|
||||||
)
|
)
|
||||||
prompt = _render_template_with_label(prompt, cache_key)
|
prompt = _render_template_with_label(prompt, cache_key)
|
||||||
|
if totp_url:
|
||||||
|
totp_url = _render_template_with_label(totp_url, cache_key)
|
||||||
|
if totp_identifier:
|
||||||
|
totp_identifier = _render_template_with_label(totp_identifier, cache_key)
|
||||||
|
|
||||||
# set the prompt in the RunContext
|
# set the prompt in the RunContext
|
||||||
context = skyvern_context.ensure_context()
|
context = skyvern_context.ensure_context()
|
||||||
context.prompt = prompt
|
context.prompt = prompt
|
||||||
|
|||||||
Reference in New Issue
Block a user