Browse files

Added default "anonymous"

  • Loading branch information...
1 parent ec1bad4 commit c1b01717a718e05d2c9977eb4c0882d320c1c25e Thom Mahoney committed Dec 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.rb
View
4 app.rb
@@ -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",

0 comments on commit c1b0171

Please sign in to comment.