Skip reconfirmation in case that a record is created with #save called in callback
This commit is contained in:
parent
6f9561e64f
commit
3360b10c2f
|
@ -169,6 +169,7 @@ module Devise
|
|||
# in models to map to a nice sign up e-mail.
|
||||
def send_on_create_confirmation_instructions
|
||||
send_confirmation_instructions
|
||||
skip_reconfirmation!
|
||||
end
|
||||
|
||||
# Callback to overwrite if confirmation is required or not.
|
||||
|
|
Loading…
Reference in New Issue