spec/app.rb in warden-github-0.3.0 vs spec/app.rb in warden-github-0.3.1
- old
+ new
@@ -1,11 +1,9 @@
require 'sinatra'
module Example
class App < Sinatra::Base
- use Rack::Session::Cookie, :key => 'rack.session',
- :secret => 'warden-github-auth',
- :expire_after => 2592000
+ enable :sessions
enable :raise_errors
disable :show_exceptions
use Warden::Manager do |manager|
manager.default_strategies :github