zoneminder/web/api/app
Matt N 33092e4022 Allow API authentication using the `auth` query parameter containing an auth. hash. (#1845)
* Allow API authentication using the `auth` query parameter containing an auth. hash.

Fixes #1827

The same auth. hash for zms is used here. This allows consumers to use the API without sending the password in the query string and not require forging logins via the login form.

* Move logger.php's global Debug function to Logger::Debug to avoid polluting globals

This avoids a conflict with CakePHP when logger.php gets included indrectly from API code.

* Protect action=login when ZM_ENABLE_CSRF_MAGIC is enabled
2017-05-15 21:51:48 -04:00
..
Config Update database.php.default 2017-04-24 23:40:21 -07:00
Console
Controller Allow API authentication using the `auth` query parameter containing an auth. hash. (#1845) 2017-05-15 21:51:48 -04:00
Model
Plugin
View
vendor
webroot
.htaccess
index.php