Skip to content
Browse files

Change url_field to text_field to support "facebook urls"

In order to be able to reuse as much of the OpenID code, we
shoehorn the facebook and MS live identities into a custom "URL",
however this URL is deliberately non valid to not clash with any valid
urls. So we need to disable rails URL check
  • Loading branch information...
1 parent 16cadb1 commit 1f1378c8ad0682afc6019c28a7878fb60359d7d9 Kai Krueger committed Sep 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/user/account.html.erb
View
2 app/views/user/account.html.erb
@@ -44,7 +44,7 @@
<fieldset>
<div class="form-row">
<label class="standard-label"><%= t 'user.account.openid.openid' %></label>
- <%= f.url_field :openid_url, {:id => "openid_url", :class => "openid_url"} %>
+ <%= f.text_field :openid_url, {:id => "openid_url", :class => "openid_url"} %>
<span class="form-help deemphasize">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
</diV>
</fieldset>

0 comments on commit 1f1378c

Please sign in to comment.
Something went wrong with that request. Please try again.