Skip to content

Commit

Permalink
Added default "anonymous"
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom Mahoney committed Dec 13, 2011
1 parent ec1bad4 commit c1b0171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.rb
Expand Up @@ -10,8 +10,8 @@
before do
session[:oauth] ||= {}

consumer_key = ENV["CONSUMER_KEY"] || ENV["consumer_key"]
consumer_secret = ENV["CONSUMER_SECRET"] || ENV["consumer_secret"]
consumer_key = ENV["CONSUMER_KEY"] || ENV["consumer_key"] || "anonymous"
consumer_secret = ENV["CONSUMER_SECRET"] || ENV["consumer_secret"] || "anonymous"

@consumer ||= OAuth::Consumer.new(consumer_key, consumer_secret,
:site => "https://www.google.com",
Expand Down

0 comments on commit c1b0171

Please sign in to comment.