We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51108e9 + 70e3749 commit e375f4eCopy full SHA for e375f4e
conditional/blueprints/member_management.py
@@ -627,8 +627,9 @@ def clear_active_members():
627
628
# Clear the active group.
629
for account in members:
630
- log.info('Remove {} from Active Status'.format(account.uid))
631
- ldap_set_inactive(account)
+ if account.uid != username:
+ log.info('Remove {} from Active Status'.format(account.uid))
632
+ ldap_set_inactive(account)
633
return jsonify({"success": True}), 200
634
635
0 commit comments