session token fix for captcha
This commit is contained in:
@@ -67,7 +67,10 @@ def get_setup_configs(mode, config=None):
|
||||
session = setup.get("run_session", True)
|
||||
token = setup.get("run_token", True)
|
||||
matches = {
|
||||
"combined": session and token or (name.startswith("UPC_") and token),
|
||||
# The full setup run owns every enabled product that has work to do.
|
||||
# Products without tokens (for example RA) still belong in this
|
||||
# shared browser flow; the combined test skips only their token step.
|
||||
"combined": session or token,
|
||||
"session": session and not token,
|
||||
"token": token and not session,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user