From 45afd1fb6f02a1089ad1f22e437ce125dea55867 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 ce034aa53..fb971e936 100644 --- a/lib/auth.php +++ b/lib/auth.php @@ -570,9 +570,9 @@ function get_auth_realms($login = false) { // TODO: Verify this array return array( - '0' => __('Local'), - '3' => __('LDAP'), - '2' => __('Web Basic') + '0' => ['name' => __('Local')], + '3' => ['name' => __('LDAP')], + '2' => ['name' => __('Web Basic')], ); }