Files
zoneminder/tests/php
Isaac ConnorandClaude Opus 5.5 fcec200d33 fix: define ZM_AUTH_HASH_SECRET_DEFAULT before the first loadConfig() call
config.php calls loadConfig() at file scope, near the top, and loadConfig()
now calls ensureAuthHashSecret(), which compares against
ZM_AUTH_HASH_SECRET_DEFAULT. The define came after that call, so any
non-empty secret not overridden in zm.conf stopped every web and API request
with "Undefined constant ZM_AUTH_HASH_SECRET_DEFAULT". Move the define up
with the other constants, and have the test check the order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:11:42 -05:00
..