Commit 91a8cd240bc16fe49190d407cb65ccdd2dc52e05
1 parent
28d90385
Exists in
master
and in
4 other branches
Fix invalid syntax in OmniAuth initializer sample
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
config/initializers/omniauth.rb.sample
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | # The wiki has further details on configuring each provider. | 2 | # The wiki has further details on configuring each provider. |
3 | 3 | ||
4 | Devise.setup do |config| | 4 | Devise.setup do |config| |
5 | - # config.omniauth :github 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo' | 5 | + # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo' |
6 | 6 | ||
7 | # config.omniauth :ldap, | 7 | # config.omniauth :ldap, |
8 | # :host => 'YOUR_LDAP_SERVER', | 8 | # :host => 'YOUR_LDAP_SERVER', |
@@ -12,4 +12,4 @@ Devise.setup do |config| | @@ -12,4 +12,4 @@ Devise.setup do |config| | ||
12 | # :method => :plain, | 12 | # :method => :plain, |
13 | # :bind_dn => 'THE_FULL_DN_OF_THE_USER_YOU_WILL_BIND_WITH', | 13 | # :bind_dn => 'THE_FULL_DN_OF_THE_USER_YOU_WILL_BIND_WITH', |
14 | # :password => 'THE_PASSWORD_OF_THE_BIND_USER' | 14 | # :password => 'THE_PASSWORD_OF_THE_BIND_USER' |
15 | -end | ||
16 | \ No newline at end of file | 15 | \ No newline at end of file |
16 | +end |