diff options
Diffstat (limited to 'app/views/devise/confirmations/almost_there.haml')
-rw-r--r-- | app/views/devise/confirmations/almost_there.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/confirmations/almost_there.haml b/app/views/devise/confirmations/almost_there.haml index ef19ac33a15..01f9595f35c 100644 --- a/app/views/devise/confirmations/almost_there.haml +++ b/app/views/devise/confirmations/almost_there.haml @@ -1,4 +1,4 @@ -- user_email = "(#{params[:email]})" if params[:email].present? +- user_email = "(#{params[:email]})" if Devise.email_regexp.match?(params[:email]) - request_link_start = '<a href="%{new_user_confirmation_path}">'.html_safe % { new_user_confirmation_path: new_user_confirmation_path } - request_link_end = '</a>'.html_safe - content_for :page_specific_javascripts do |