Add support for Facebook authentication
This commit is contained in:
parent
a1f73967a9
commit
c9893e186b
13 changed files with 248 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
module Auth
|
||||
PROVIDERS = { "None" => "", "OpenID" => "openid" }
|
||||
PROVIDERS["Google"] = "google" if defined?(GOOGLE_AUTH_ID)
|
||||
PROVIDERS["Facebook"] = "facebook" if defined?(FACEBOOK_AUTH_ID)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue