Add support for Facebook authentication
[rails.git] / app / views / user / login.html.erb
index 99d7c0c347e645707f195d2cadb1e01a372b5a78..2e4daf3a3834fc3a352ff70bf9c0a7d0a61eeea4 100644 (file)
@@ -45,6 +45,9 @@
           <% if defined?(GOOGLE_AUTH_ID) -%>
           <li><%= auth_button "google", "google" %></li>
           <% end -%>
+          <% if defined?(FACEBOOK_AUTH_ID) -%>
+          <li><%= auth_button "facebook", "facebook" %></li>
+          <% end -%>
           <li><%= auth_button "yahoo", "openid", :openid_url => "yahoo.com" %></li>
           <li><%= auth_button "wordpress", "openid", :openid_url => "wordpress.com" %></li>
           <li><%= auth_button "aol", "openid", :openid_url => "aol.com" %></li>