Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e375f4e

Browse files
authoredJul 25, 2017
Merge pull request #148 from ComputerScienceHouse/develop
Don't Remove Eval Director from Active Group
·
v1.5.1v1.5.0a
2 parents 51108e9 + 70e3749 commit e375f4e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎conditional/blueprints/member_management.py

Lines changed: 3 additions & 2 deletions
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)
Please sign in to comment.