app/mailers/spree/user_mailer.rb in spree_auth-1.0.7 vs app/mailers/spree/user_mailer.rb in spree_auth-1.1.0.rc1
- old
+ new
@@ -1,8 +1,6 @@
class Spree::UserMailer < ActionMailer::Base
def reset_password_instructions(user)
- default_url_options[:host] = Spree::Config[:site_url]
-
@edit_password_reset_url = spree.edit_user_password_url(:reset_password_token => user.reset_password_token)
mail(:to => user.email,
:subject => Spree::Config[:site_name] + ' ' + I18n.t(:password_reset_instructions))
end