Commit a483090b737db4899063f7cdbd922a4c11785c07

Authored by Dmitriy Zaporozhets
2 parents 28d90385 91a8cd24

Merge pull request #1224 from tsigo/omniauth_sample_syntax

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