diff options
author | Andrew Dolgov <[email protected]> | 2019-11-01 13:03:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-11-01 13:03:06 +0300 |
commit | 68b0380118cc0ff4f8dc99125dce7d97b61e02f3 (patch) | |
tree | baa17c8bceedb81e96269130be59b4543799bfe1 /api/index.php | |
parent | 88cd9e586e2e0d0ccea745018ba2f9a91e04ec93 (diff) |
add placeholder authentication via app passwords if service is passed
forbid logins via regular passwords for services
remove AUTH_DISABLE_OTP
Diffstat (limited to 'api/index.php')
-rw-r--r-- | api/index.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/index.php b/api/index.php index 3fbf6bf57..363f2ae13 100644 --- a/api/index.php +++ b/api/index.php @@ -22,8 +22,6 @@ ini_set('session.use_cookies', 0); ini_set("session.gc_maxlifetime", 86400); - define('AUTH_DISABLE_OTP', true); - if (defined('ENABLE_GZIP_OUTPUT') && ENABLE_GZIP_OUTPUT && function_exists("ob_gzhandler")) { |