Add support for Facebook authentication
[rails.git] / lib / auth.rb
index edd98e4ffb6c15f4109717c66535abbeb8b53499..b5ac0d2ebb58c8b64cda6f580faf8c61b0c4f30d 100644 (file)
@@ -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