projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for Facebook authentication
[rails.git]
/
lib
/
auth.rb
diff --git
a/lib/auth.rb
b/lib/auth.rb
index edd98e4ffb6c15f4109717c66535abbeb8b53499..b5ac0d2ebb58c8b64cda6f580faf8c61b0c4f30d 100644
(file)
--- a/
lib/auth.rb
+++ b/
lib/auth.rb
@@
-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