diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 21:47:48 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 21:47:48 +0300 |
commit | e4107ac9520ca404d4ab49ef79ca74430e8fd772 (patch) | |
tree | 0d2d1e162ea9d5ed4e1f3bbb1dc2c29e494311fd /backend.php | |
parent | 42173386b39bed4b06c5ac6c2fc0da510673b354 (diff) |
wip: initial for config object
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php index b6b3e0030..2237c06b3 100644 --- a/backend.php +++ b/backend.php @@ -40,7 +40,7 @@ header("Content-Type: text/json; charset=utf-8"); - if (SINGLE_USER_MODE) { + if (Config::get(Config::SINGLE_USER_MODE)) { UserHelper::authenticate( "admin", null); } |