Files
picoclaw/pkg
Kristjan Kruus 1f9d390a64 fix: apply security credentials before config validation in web handlers
- Move SecurityCopyFrom() before validateConfig() in PUT and PATCH handlers
- Make SecurityCopyFrom() call applySecurityConfig() to populate private fields
- Add tests for config save with security-only channel tokens

Without this fix, saving config via the web UI fails with 'channels.pico.token
is required' (and similar for Telegram/Discord) when tokens are stored in
.security.yml, because the validation ran before security credentials were
copied to the config struct.
2026-03-23 14:26:51 +02:00
..
2026-03-19 18:04:58 +08:00
2026-03-23 15:00:18 +08:00
2026-03-23 18:15:16 +08:00
2026-03-13 14:04:02 +08:00
2026-03-23 10:54:08 +08:00
2026-03-19 18:04:58 +08:00