Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added cookies

  • Loading branch information...
commit 733e08db156cbd943e566aba66218e0b811277a8 1 parent 8b8409e
@makevoid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  exts/auth/routes/sessions.rb
View
2  exts/auth/routes/sessions.rb
@@ -1,7 +1,7 @@
class Sinforum < Sinatra::Base
enable :sessions
- use Rack::Session::Cookie
+ use Rack::Session::Cookie, expire_after: 60 * 60 * 24 * 12
def login_required
Please sign in to comment.
Something went wrong with that request. Please try again.