Add support for Facebook authentication

This commit is contained in:
Tom Hughes 2015-04-27 21:39:54 +01:00
parent a1f73967a9
commit c9893e186b
13 changed files with 248 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 B

View 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>