Use default user for auth-disabled local mode

This commit is contained in:
taohe
2026-06-11 16:33:37 +08:00
parent a4202028d9
commit 42fd0cc22f
3 changed files with 16 additions and 13 deletions
+4 -2
View File
@@ -6,9 +6,11 @@ import logging
import os
from types import SimpleNamespace
from deerflow.runtime.user_context import DEFAULT_USER_ID
AUTH_DISABLED_ENV_VAR = "DEER_FLOW_AUTH_DISABLED"
AUTH_DISABLED_USER_ID = "e2e-user"
AUTH_DISABLED_USER_EMAIL = "e2e@test.local"
AUTH_DISABLED_USER_ID = DEFAULT_USER_ID
AUTH_DISABLED_USER_EMAIL = "default@test.local"
AUTH_SOURCE_SESSION = "session"
AUTH_SOURCE_INTERNAL = "internal"