mirror of
https://github.com/humhub/humhub.git
synced 2025-04-22 16:11:55 +02:00
This commit is contained in:
parent
cf44e7af12
commit
3771d0bb5e
@ -9,3 +9,4 @@ HumHub Changelog (DEVELOP)
|
||||
- Enh #6006: Fix activity settings test
|
||||
- Fix #6018: Disable profile fields textarea and checkbox list when they are not editable
|
||||
- Ehn #6017: Hide Password Tab in administration for LDAP users
|
||||
- Enh #6031: On users list grid, show Auth mode badge only for sys admins
|
||||
|
@ -43,7 +43,7 @@ class DisplayNameColumn extends BaseColumn
|
||||
$user = $this->getUser($model);
|
||||
|
||||
$badge = '';
|
||||
if ($user->auth_mode !== 'local') {
|
||||
if ($user->auth_mode !== 'local' && Yii::$app->user->isAdmin()) {
|
||||
$badge = ' <span class="badge">'.$user->auth_mode.'</span>';
|
||||
}
|
||||
return '<div>' . Html::encode($user->displayName) . $badge . '<br> ' .
|
||||
|
Loading…
x
Reference in New Issue
Block a user