From: Tom Hughes Date: Mon, 22 Aug 2011 10:00:42 +0000 (+0100) Subject: Don't show the openid field if the URL is the empty string X-Git-Tag: live~6217 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/4549c765f64d4e5c20b2d33303a297a2d5ab6356 Don't show the openid field if the URL is the empty string --- diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index 8a1ad0bb0..59aa7410e 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -75,7 +75,7 @@ <%= update_page_tag do |page| - if params[:openid] or (@user and @user.openid_url) + if params[:openid] or (@user and @user.openid_url and not @user.openid_url.empty?) page[:openid_prompt].hide else page[:openid_spacer].hide