Skip to content

Commit

Permalink
Always return an array in getCredentialsDeprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Oct 4, 2023
1 parent fc2198d commit f864a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/api/app/Controller/HostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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='') {
Expand Down

0 comments on commit f864a29

Please sign in to comment.