X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/22594361d5abd2a6ee18e290058d9d39d7d761ec..226c41be692452129227f30d67f2d847e510015c:/app/views/user/new.html.erb diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index 9fcbfdcba..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' %>