mirror of
https://github.com/h44z/wg-portal.git
synced 2026-01-12 23:06:18 +00:00
allow LDAP users (and linked peers) to be automatically re-enabled (#345)
This commit is contained in:
@@ -71,5 +71,9 @@ func userChangedInLdap(dbUser, ldapUser *domain.User) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
if dbUser.ProviderName != ldapUser.ProviderName {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user