]> git.openstreetmap.org Git - rails.git/commitdiff
Temporary fix to avoid showing emails
authorTom Hughes <tom@compton.nu>
Mon, 20 Jul 2015 14:07:18 +0000 (15:07 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 20 Jul 2015 14:07:18 +0000 (15:07 +0100)
app/controllers/user_controller.rb

index 3a0e0a14935c4fc5ae270610568f250be3820310..8a5fa3fe1b0bb62fb27166d791cce513e77039d0 100644 (file)
@@ -325,7 +325,7 @@ class UserController < ApplicationController
   def confirm_resend
     if user = User.find_by_display_name(params[:display_name])
       Notifier.signup_confirm(user, user.tokens.create).deliver_now
-      flash[:notice] = t "user.confirm_resend.success", :email => user.email
+      flash[:notice] = t "user.confirm_resend.success", :email => "your email" # user.email
     else
       flash[:error] = t "user.confirm_resend.failure", :name => params[:display_name]
     end