Skip to content

Commit

Permalink
QA: Fix issue with realm array return values
Browse files Browse the repository at this point in the history
  • Loading branch information
netniV committed Jan 29, 2025
1 parent 0d198c5 commit d9ea74f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')],
);
}

Expand Down

0 comments on commit d9ea74f

Please sign in to comment.