[MM-63772] Add LDAP setting to re-add removed members (#30787)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5021fc72c6
Коммит
c2d08b7540
@@ -2480,7 +2480,8 @@ type LdapSettings struct {
|
||||
PictureAttribute *string `access:"authentication_ldap"`
|
||||
|
||||
// Synchronization
|
||||
SyncIntervalMinutes *int `access:"authentication_ldap"`
|
||||
SyncIntervalMinutes *int `access:"authentication_ldap"`
|
||||
ReAddRemovedMembers *bool `access:"authentication_ldap"`
|
||||
|
||||
// Advanced
|
||||
SkipCertificateVerification *bool `access:"authentication_ldap"`
|
||||
@@ -2613,6 +2614,10 @@ func (s *LdapSettings) SetDefaults() {
|
||||
s.SyncIntervalMinutes = NewPointer(60)
|
||||
}
|
||||
|
||||
if s.ReAddRemovedMembers == nil {
|
||||
s.ReAddRemovedMembers = NewPointer(false)
|
||||
}
|
||||
|
||||
if s.SkipCertificateVerification == nil {
|
||||
s.SkipCertificateVerification = NewPointer(false)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user