Files
zoneminder/web/api
Isaac ConnorandClaude Opus 5.5 eae9e851ba fix(api): check a bare Value when editing ZM_AUTH_HASH_SECRET
The length check read only Config[Value], but Model::set() also saves a bare
Value when the request has no Config entry, so {"Value":"short"} stored a
secret too short for php-jwt and turned off token login. Read the value with
requestField(), as the other API checks do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:11:42 -05:00
..
2021-03-31 12:11:12 -04:00
2021-03-31 12:11:12 -04:00
2021-03-31 12:11:12 -04:00
2017-05-03 12:35:54 -05:00
2021-03-31 12:11:12 -04:00
2021-03-31 12:11:12 -04:00
2023-08-27 02:00:59 +02:00

ZoneMinder API

This is the ZoneMinder API. It should be, for now, installed under the webroot e.g. /api.

app/Config/database.php.default must be configured and copied to app/Config/database.php

In addition, Security.salt and Security.cipherSeed in app/Config/core.php should be changed.

The API can run on a dedicated / separate instance, so long as it can access the database as configured in app/Config/database.php