Skip to content

Commit

Permalink
WIP does this work in production?
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed May 5, 2023
1 parent 46394e2 commit 876e542
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@

helpers StyledFlash

use Rack::Session::Cookie,
httponly: true,
same_site: :none,
secure: true,
secret: ENV["RACK_COOKIE_SECRET"]

enable :sessions
set :session_secret, ENV["RACK_COOKIE_SECRET"]
set server: "thin", connections: []
Expand Down

0 comments on commit 876e542

Please sign in to comment.