typo
This commit is contained in:
@@ -221,7 +221,7 @@ for ldapUser in ldapUsers:
|
|||||||
|
|
||||||
# Loop through the sql ldap users and disable those not in the ldap list
|
# Loop through the sql ldap users and disable those not in the ldap list
|
||||||
for seafileLDAPUser in seafileLDAPUsers:
|
for seafileLDAPUser in seafileLDAPUsers:
|
||||||
if -not seafileLDAPUser['is_active']:
|
if not seafileLDAPUser['is_active']:
|
||||||
logger.debug("User {0} is already disabled in Seafile".format(seafileLDAPUser['email']))
|
logger.debug("User {0} is already disabled in Seafile".format(seafileLDAPUser['email']))
|
||||||
continue
|
continue
|
||||||
logger.debug("Searching for user {0} that has an email address, are enabled, and in the {1} group.".format(seafileLDAPUser['email'], ldapFilter))
|
logger.debug("Searching for user {0} that has an email address, are enabled, and in the {1} group.".format(seafileLDAPUser['email'], ldapFilter))
|
||||||
|
|||||||
Reference in New Issue
Block a user