How to supress email sending when creating account via internal_request #291
Answered
by
janko
whysthatso
asked this question in
Q&A
-
Is this possible? I'm imagining something like this:
Or is this something that should be configured when enabling the features? |
Beta Was this translation helpful? Give feedback.
Answered by
janko
Apr 9, 2024
Replies: 1 comment
-
If you just want to prevent emails being sent, and still keep the account unverified on creation, you can override send_verify_account_email do
return if internal_request?
# implementation
end |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
whysthatso
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you just want to prevent emails being sent, and still keep the account unverified on creation, you can override
send_verify_account_email
: