Commit b7a36229 authored by Cool Fire's avatar Cool Fire

Use the rack session pool in favor of putting data in cookies.

parent a1e588be
Pipeline #339 passed with stages
in 1 minute and 53 seconds
......@@ -5,8 +5,8 @@ require 'yaml'
# Main class for signup site
class SignupSite < Sinatra::Base
enable :sessions
set :title, 'Shell signup - Insomnia 24/7'
use Rack::Session::Pool, :expire_after => 60 * 60 * 4
set :title, 'Shell signup - Insomnia 24/7'
get '/' do
landing = YAML.load_file('content/landing.yaml')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment