This replaces OpenID authentication, which is going away soon, but provides an upgrade path where we can migrate users that already have a Google OpenID setup to the new system transparently.
4 lines
130 B
Ruby
4 lines
130 B
Ruby
module Auth
|
|
PROVIDERS = { "None" => "", "OpenID" => "openid" }
|
|
PROVIDERS["Google"] = "google" if defined?(GOOGLE_AUTH_ID)
|
|
end
|