X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/554818b5b44fa359c50f5b68ea038bbb7a106069..6ce5986a5229408757cfdccaed3d5995376b0511:/app/models/notifier.rb?ds=inline diff --git a/app/models/notifier.rb b/app/models/notifier.rb index ba4530e99..35b521e1f 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -22,13 +22,7 @@ class Notifier < ActionMailer::Base subject I18n.t('notifier.lost_password.subject') body :url => url_for(:host => SERVER_URL, :controller => "user", :action => "reset_password", - :email => user.email, :token => token.token) - end - - def reset_password(user, pass) - common_headers user - subject I18n.t('notifier.reset_password.subject') - body :pass => pass + :token => token.token) end def gpx_success(trace, possible_points)