$update-email: add sendEmail:false for verify-emai...
# support
g
Hi, We use custom emails for invite/reset (sendEmail: false ->> Bot sends mail on UserSecurityRequest create). For email verification we call User/$update-email, which creates a verify-email USR but always sends the default Medplum email too. skipEmailVerification: true isn’t what we need cause it skips creating the USR entirely. could $update-email get an optional sendEmail: false (default true) that still runs verifyEmail() but skips the built-in email same idea as auth/resetpassword? Use case: Medplum-hosted, open patient reg, Bot + auth/verifyemail, one branded email only. Thanks!
r
We are looking into this @Guoyi Z (Empallo) !
g
Thanks a lot, @reshma !
c
Hi @Guoyi Z (Empallo) - PR is approved, this should be released shortly: https://github.com/medplum/medplum/pull/10685#pullrequestreview-5327452585
g
This is super helpful and gets me unblocked, thanks so much, @cody !
3 Views