X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6740cab85b28e808e12ec47785547eebce5f40fa..8f101a375972f60640710ce18a91283b4b972fa7:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 364463336..e6058d4b7 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -4,6 +4,7 @@ class Notifier < ActionMailer::Base subject I18n.t('notifier.signup_confirm.subject') body :url => url_for(:host => SERVER_URL, :controller => "user", :action => "confirm", + :display_name => user.display_name, :confirm_string => token.token) end @@ -105,7 +106,7 @@ private end def from_header(name, type, id, digest) - if domain = APP_CONFIG['messages_domain'] + if domain = MESSAGES_DOMAIN from quote_address_if_necessary("#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>", "utf-8") end end