X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..226c41be692452129227f30d67f2d847e510015c:/app/views/user/new.html.erb diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index a988afd80..04c86b5a8 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -1,6 +1,6 @@

<%= t 'user.new.heading' %>

-<% if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"}) %> +<% if Acl.address(request.remote_ip).where(:k => "no_account_creation").exists? %>

<%= t 'user.new.no_auto_account_create' %>

@@ -26,7 +26,7 @@ - <%= t 'user.new.not displayed publicly' %> + <%= raw(t 'user.new.not displayed publicly') %>