Skip to content

Commit 70e3749

Browse files
committed
Don't remove eval director from active group
1 parent 57d4402 commit 70e3749

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

conditional/blueprints/member_management.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,9 @@ def clear_active_members():
627627

628628
# Clear the active group.
629629
for account in members:
630-
log.info('Remove {} from Active Status'.format(account.uid))
631-
ldap_set_inactive(account)
630+
if account.uid != username:
631+
log.info('Remove {} from Active Status'.format(account.uid))
632+
ldap_set_inactive(account)
632633
return jsonify({"success": True}), 200
633634

634635

0 commit comments

Comments
 (0)