Permalink
Browse files

Escapes email but keeps string escaped for multi-line output.

  • Loading branch information...
1 parent 9ce4f9d commit 203d46da17b22363d06a78972c140df60cd36269 Rob Yurkowski committed with parndt Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 authentication/app/controllers/refinery/passwords_controller.rb
@@ -42,7 +42,7 @@ def create
flash.now[:error] = if @refinery_user.email.blank?
t('blank_email', :scope => 'refinery.users.forgot')
else
- t('email_not_associated_with_account_html', :email => @refinery_user.email, :scope => 'refinery.users.forgot')
+ t('email_not_associated_with_account_html', :email => h(@refinery_user.email), :scope => 'refinery.users.forgot').html_safe
end
render :new
end

0 comments on commit 203d46d

Please sign in to comment.