From f864a29eac2124886a481480475016b97f4b7eed Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 4 Oct 2023 11:12:37 -0400 Subject: [PATCH] Always return an array in getCredentialsDeprecated --- web/api/app/Controller/HostController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/api/app/Controller/HostController.php b/web/api/app/Controller/HostController.php index 563dd50c98..30175573ff 100644 --- a/web/api/app/Controller/HostController.php +++ b/web/api/app/Controller/HostController.php @@ -140,8 +140,8 @@ private function _getCredentialsDeprecated() { $credentials = 'user='.$_SESSION['Username'].'&pass='; $appendPassword = 1; } - return array($credentials, $appendPassword); } + return array($credentials, $appendPassword); } private function _getCredentials($generate_refresh_token=false, $token='', $username='') {