mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
14 lines
947 B
Diff
14 lines
947 B
Diff
|
diff --git a/protected/humhub/modules/ldap/models/LdapSettings.php b/protected/humhub/modules/ldap/models/LdapSettings.php
|
||
|
index e6402e8b3..3b653d590 100644
|
||
|
--- a/protected/humhub/modules/ldap/models/LdapSettings.php
|
||
|
+++ b/protected/humhub/modules/ldap/models/LdapSettings.php
|
||
|
@@ -120,7 +120,7 @@ class LdapSettings extends Model
|
||
|
return [
|
||
|
[['enabled', 'refreshUsers', 'usernameAttribute', 'emailAttribute', 'username', 'passwordField', 'hostname', 'port', 'idAttribute'], 'string', 'max' => 255],
|
||
|
[['baseDn', 'loginFilter', 'userFilter'], 'string'],
|
||
|
- [['usernameAttribute', 'username', 'passwordField', 'hostname', 'port', 'baseDn', 'loginFilter', 'userFilter', 'idAttribute'], 'required'],
|
||
|
+ [['usernameAttribute', 'hostname', 'port', 'baseDn', 'loginFilter', 'userFilter', 'idAttribute'], 'required'],
|
||
|
['encryption', 'in', 'range' => ['', 'ssl', 'tls']],
|
||
|
];
|
||
|
}
|