Report duplicate OpenID URLs cleanly
[rails.git] / app / views / user / new.html.erb
index 83a4d39e4e8d659b2d604bd4c5bd39f6e6626ad5..4e3f4428d6f11194c339f31fa1d115ee1ddf4b23 100644 (file)
@@ -75,7 +75,7 @@
 
 <%=
   update_page_tag do |page|
-    if params[:openid] 
+    if params[:openid] or (@user and @user.openid_url)
       page[:openid_prompt].hide
     else
       page[:openid_spacer].hide