diff options
| author | spiderr <spiderr@bitweaver.org> | 2025-05-14 09:19:38 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2025-05-14 09:19:38 -0400 |
| commit | 4d9d57f8eda188e7bb21d5daa2d39fc119e0c209 (patch) | |
| tree | 31383fb5e4fdf73e555bd77e061362a46ca7fbc4 /auth | |
| parent | a50896c163d1ca5a4ff25bc99362296845d4c10a (diff) | |
| download | users-4d9d57f8eda188e7bb21d5daa2d39fc119e0c209.tar.gz users-4d9d57f8eda188e7bb21d5daa2d39fc119e0c209.tar.bz2 users-4d9d57f8eda188e7bb21d5daa2d39fc119e0c209.zip | |
Remove ROLE_MODEL code
Diffstat (limited to 'auth')
| -rw-r--r-- | auth/ldap/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index d8ab937..5cb6c52 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -146,7 +146,7 @@ class LDAPAuth extends BaseAuth { // Roles are not inteneded to match with ldap groups // This area needs a closer look if it needs to be used $groups = array(); - if ( !defined ('ROLE_MODEL') ) $groups = $gBitUser->getAllGroups($listHash); + $groups = $gBitUser->getAllGroups($listHash); $groupsD = array(); foreach ($groups as $g) { $groupsD[$g['group_id']]= "{$g['group_name']} ( {$g['group_desc']} )"; |
