diff options
author | Andrew Dolgov <[email protected]> | 2021-03-01 15:24:18 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-01 15:24:18 +0300 |
commit | 6359259dbb1e8d5b569f569a7089abffd9259d30 (patch) | |
tree | 69fc8e95b55d4c9ab0e3345e6f52d3c5632f038a /api | |
parent | 320503dd3911de93d059ebe1ba8b96004d8f6b03 (diff) |
simplify internal authentication code and bump default algo to SSHA-512
Diffstat (limited to 'api')
-rw-r--r-- | api/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php index 430082f16..750a95721 100644 --- a/api/index.php +++ b/api/index.php @@ -46,7 +46,7 @@ UserHelper::load_user_plugins($_SESSION["uid"]); } - $method = strtolower($_REQUEST["op"]); + $method = strtolower($_REQUEST["op"] ?? ""); $handler = new API($_REQUEST); |