X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9649b192c03f7a333f3a02697a64910cd6669dab..bd053a060a6a4e68f84ce4a9c6c41f2268b9b667:/app/views/users/new.html.erb diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index 6e9c91524..a2a068360 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -7,7 +7,7 @@ <% content_for :heading do %> <% if @client_app_name %> -

<%= t(".signup_to_authorize_html", :client_app_name => @client_app_name) %>

+

<%= t(".signup_to_authorize_html", :client_app_name => @client_app_name) %>

<% end %>
@@ -43,11 +43,11 @@ <%= bootstrap_form_for current_user, :url => { :action => "create" } do |f| %> <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %> - <%= hidden_field_tag("verified_email", h(@verified_email)) unless @verified_email.nil? %> + <%= hidden_field_tag("email_hmac", h(@email_hmac)) unless @email_hmac.nil? %> <%= f.hidden_field :auth_provider unless current_user.auth_provider.nil? %> <%= f.hidden_field :auth_uid unless current_user.auth_uid.nil? %> - <% if current_user.auth_uid.nil? or @verified_email.nil? or not current_user.errors[:email].empty? %> + <% if current_user.auth_uid.nil? or @email_hmac.nil? or not current_user.errors[:email].empty? %> <%= f.email_field :email, :help => t(".email_help_html", :privacy_policy_link => link_to(t(".privacy_policy"), t(".privacy_policy_url"),