Skip to content

How to supress email sending when creating account via internal_request #291

Answered by janko
whysthatso asked this question in Q&A
Discussion options

You must be logged in to vote

If you just want to prevent emails being sent, and still keep the account unverified on creation, you can override send_verify_account_email:

send_verify_account_email do
  return if internal_request? 
  # implementation
end

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by whysthatso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants