fix: patient - user welcome email configuration
This commit is contained in:
parent
b2c9268ece
commit
f4d0fcb836
@ -33,7 +33,6 @@ class Patient(Document):
|
||||
"email": self.email,
|
||||
"user_type": "Website User"
|
||||
})
|
||||
user.flags.no_welcome_email = True
|
||||
user.flags.ignore_permissions = True
|
||||
user.add_roles("Patient")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user