From d9ea74f7a15e44ba5e28a1bde374f22ff2c41186 Mon Sep 17 00:00:00 2001 From: Mark Brugnoli-Vinten Date: Wed, 29 Jan 2025 16:52:32 +0000 Subject: [PATCH] QA: Fix issue with realm array return values --- lib/auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/auth.php b/lib/auth.php index 227d51d675..d79d86b378 100644 --- a/lib/auth.php +++ b/lib/auth.php @@ -552,9 +552,9 @@ function get_auth_realms($login = false) { } return array( - '0' => __('Local'), - '3' => __('LDAP'), - '2' => __('Web Basic') + '0' => ['name' => __('Local')], + '3' => ['name' => __('LDAP')], + '2' => ['name' => __('Web Basic')], ); }