mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
05a4a5a9d3
- Use vendored source - Update LDAP settings - Update nginx config - Rename _common(s).sh - Use a CSRF aware local_curl - Remove/update old patches Also trim remove, restore, upgrade and backup scripts
13 lines
947 B
Diff
13 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']],
|
|
];
|
|
}
|