]> git.openstreetmap.org Git - rails.git/commitdiff
Fix the email address that's suggested for whitelisting
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Jun 2021 14:37:40 +0000 (15:37 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Jun 2021 14:37:40 +0000 (15:37 +0100)
Refs #3215

app/controllers/confirmations_controller.rb

index b77ed09b3138caf9092cc0a3505ad5bb58aae652..f9de54df0aa20559ada7d2e3b30bbe0be2bebe26 100644 (file)
@@ -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