Merge pull request #1224 from tsigo/omniauth_sample_syntax
Fix invalid syntax in OmniAuth initializer sample
This commit is contained in:
commit
a483090b73
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
# The wiki has further details on configuring each provider.
|
# The wiki has further details on configuring each provider.
|
||||||
|
|
||||||
Devise.setup do |config|
|
Devise.setup do |config|
|
||||||
# config.omniauth :github 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
|
# config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
|
||||||
|
|
||||||
# config.omniauth :ldap,
|
# config.omniauth :ldap,
|
||||||
# :host => 'YOUR_LDAP_SERVER',
|
# :host => 'YOUR_LDAP_SERVER',
|
||||||
|
@ -12,4 +12,4 @@ Devise.setup do |config|
|
||||||
# :method => :plain,
|
# :method => :plain,
|
||||||
# :bind_dn => 'THE_FULL_DN_OF_THE_USER_YOU_WILL_BIND_WITH',
|
# :bind_dn => 'THE_FULL_DN_OF_THE_USER_YOU_WILL_BIND_WITH',
|
||||||
# :password => 'THE_PASSWORD_OF_THE_BIND_USER'
|
# :password => 'THE_PASSWORD_OF_THE_BIND_USER'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue