membershipworks/ucsAccounts: Leave email list empty if not set in MW
This commit is contained in:
parent
da0767a0e9
commit
ef485ab44d
@ -90,7 +90,7 @@ async def sync_member(user_mod, member: Member):
|
||||
# "userexpiry": member["Renewal Date"],
|
||||
# "pwdChangeNextLogin": "1", # User has to change password on next login
|
||||
# "sambaLogonHours": "", # Permitted times for Windows logins
|
||||
"e-mail": [member.email], # ([]) E-mail address
|
||||
"e-mail": [member.email] if member.email else [], # ([]) E-mail address
|
||||
"phone": [member.phone], # Telephone number
|
||||
# "PasswordRecoveryMobile": member["Phone"], # Mobile phone number
|
||||
"PasswordRecoveryEmail": member.email,
|
||||
|
Loading…
Reference in New Issue
Block a user