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.
1 parent 57d4402 commit 70e3749Copy full SHA for 70e3749
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