mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-05 20:23:34 +00:00
Merge branch 'main' of https://github.com/GAM-team/GAM
This commit is contained in:
@ -5703,6 +5703,8 @@ def convertUIDtoEmailAddressWithType(emailAddressOrUID, cd=None, sal=None, email
|
|||||||
# Convert UID to email address
|
# Convert UID to email address
|
||||||
def convertUIDtoEmailAddress(emailAddressOrUID, cd=None, emailTypes=None,
|
def convertUIDtoEmailAddress(emailAddressOrUID, cd=None, emailTypes=None,
|
||||||
checkForCustomerId=False, ciGroupsAPI=False, aliasAllowed=True):
|
checkForCustomerId=False, ciGroupsAPI=False, aliasAllowed=True):
|
||||||
|
if emailAddressOrUID.startswith('cbcm-browser.'):
|
||||||
|
return emailAddressOrUID
|
||||||
email, _ = convertUIDtoEmailAddressWithType(emailAddressOrUID, cd, emailTypes,
|
email, _ = convertUIDtoEmailAddressWithType(emailAddressOrUID, cd, emailTypes,
|
||||||
checkForCustomerId, ciGroupsAPI, aliasAllowed)
|
checkForCustomerId, ciGroupsAPI, aliasAllowed)
|
||||||
return email
|
return email
|
||||||
|
Reference in New Issue
Block a user