diff --git a/module/VuFind/src/VuFind/Auth/ChoiceAuth.php b/module/VuFind/src/VuFind/Auth/ChoiceAuth.php index 40d074f68bc..06d9df6e8c4 100644 --- a/module/VuFind/src/VuFind/Auth/ChoiceAuth.php +++ b/module/VuFind/src/VuFind/Auth/ChoiceAuth.php @@ -312,7 +312,7 @@ public function supportsPasswordRecovery() */ public function getUsernamePolicy() { - return $this->proxyAuthMethod('getUsernamePolicy', func_get_args()); + return $this->proxyAuthMethod('getUsernamePolicy', func_get_args()) ?: []; } /** @@ -322,7 +322,7 @@ public function getUsernamePolicy() */ public function getPasswordPolicy() { - return $this->proxyAuthMethod('getPasswordPolicy', func_get_args()); + return $this->proxyAuthMethod('getPasswordPolicy', func_get_args()) ?: []; } /**