Add support for Facebook authentication
This commit is contained in:
parent
a1f73967a9
commit
c9893e186b
13 changed files with 248 additions and 4 deletions
BIN
app/assets/images/facebook.png
Normal file
BIN
app/assets/images/facebook.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 798 B |
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue