Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Change example app env variables to match documentation (README)
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Nov 8, 2010
1 parent b18230d commit bfd0986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/app.rb
Expand Up @@ -4,8 +4,8 @@ module Example
class App < Sinatra::Base
enable :sessions

set :github_options, { :client_id => ENV['GITHUB_CLIENT_ID'],
:secret => ENV['GITHUB_SECRET'],
set :github_options, { :client_id => ENV['GH_CLIENT_ID'],
:secret => ENV['GH_SECRET'],
:scopes => 'user,offline_access,repo' }

register Sinatra::Auth::Github
Expand Down

0 comments on commit bfd0986

Please sign in to comment.