diff --git a/app/models/devise_token_auth/concerns/user.rb b/app/models/devise_token_auth/concerns/user.rb index e1f0101ed..bdaf11486 100644 --- a/app/models/devise_token_auth/concerns/user.rb +++ b/app/models/devise_token_auth/concerns/user.rb @@ -76,12 +76,6 @@ def send_reset_password_instructions(opts=nil) # fall back to "default" config name opts[:client_config] ||= "default" - if respond_to?(:pending_reconfirmation?) && pending_reconfirmation? - opts[:to] = unconfirmed_email - else - opts[:to] = email - end - send_devise_notification(:reset_password_instructions, token, opts) token