Skip to content

Commit cbdc2bd

Browse files
committed
Merge branch 'v2' into feature/username-update
2 parents 4a5773f + 5d54cfb commit cbdc2bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

umapi_client/functional.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ def update(self, email=None, username=None, first_name=None, last_name=None, cou
175175
"""
176176
if username and self.id_type != IdentityTypes.federatedID:
177177
raise ArgumentError("You cannot set username except for a federated ID")
178-
if email and username and email.lower() == username.lower():
179-
raise ArgumentError("Specify just email to set both email and username for a federated ID")
180178
updates = {}
181179
for k, v in dict(email=email, username=username,
182180
firstname=first_name, lastname=last_name,

0 commit comments

Comments
 (0)