Files
open-webui/backend/open_webui
Classic298andClaude Opus 4.8 e398ba3506 fix: don't seed non-persistent config keys (oauth.* with flag off) (#26928)
seed_defaults inserted a row for every key in DEFAULT_CONFIG regardless
of whether the DB is authoritative for it. With ENABLE_OAUTH_PERSISTENT_CONFIG
off, the oauth.* keys were seeded from the then-current (often empty) env
values. Enabling the flag later made those stale rows override live env vars
(e.g. ENABLE_OAUTH_SIGNUP=true stopped taking effect) and further env changes
were never picked up.

Skip keys where persistent_enabled_for() is false, matching the masking the
read paths (get/get_many/get_namespace/get_all) already apply.


Claude-Session: https://claude.ai/code/session_01Vr2RCYUTXCtgtV4WMUCK86

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 00:58:30 -05:00
..
…
2026-07-24 01:54:36 -04:00
2026-07-24 01:19:28 -04:00
2026-07-24 01:44:30 -04:00
2026-07-23 22:20:50 -04:00
2026-07-20 22:27:13 -04:00
2026-07-24 01:44:30 -04:00
2026-06-17 03:01:11 +02:00
2026-07-24 01:19:28 -04:00
2026-06-29 05:46:51 -05:00
2026-07-23 22:52:23 -04:00
2026-07-23 03:39:56 -04:00
2026-07-24 00:47:12 -04:00
2026-07-16 21:57:43 -04:00