Skip to content

Commit a33a70b

Browse files
committed
Adding not removing from groups
1 parent f042dba commit a33a70b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conditional/util/ldap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ def ldap_set_non_current_student(account):
151151

152152

153153
def ldap_set_failed(account):
154-
_ldap_remove_member_from_group(account, 'failed')
154+
_ldap_add_member_to_group(account, 'failed')
155155
ldap_get_member.cache_clear()
156156

157157

158158
def ldap_set_bad_standing(account):
159-
_ldap_remove_member_from_group(account, 'bad_standing')
159+
_ldap_add_member_to_group(account, 'bad_standing')
160160
ldap_get_member.cache_clear()
161161

162162

0 commit comments

Comments
 (0)