From: Andy Allan Date: Wed, 16 Jun 2021 14:37:40 +0000 (+0100) Subject: Fix the email address that's suggested for whitelisting X-Git-Tag: live~1529^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4e45f3a76fbc46280bbbecddd4307d2ab70fa613 Fix the email address that's suggested for whitelisting Refs #3215 --- diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index b77ed09b3..f9de54df0 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -66,7 +66,7 @@ class ConfirmationsController < ApplicationController flash[:error] = t "confirmations.confirm_resend.failure", :name => params[:display_name] else UserMailer.signup_confirm(user, user.tokens.create).deliver_later - flash[:notice] = t "confirmations.confirm_resend.success_html", :email => user.email, :sender => Settings.support_email + flash[:notice] = t "confirmations.confirm_resend.success_html", :email => user.email, :sender => Settings.email_from end redirect_to login_path