Project

General

Profile

Actions

Feature #982

open

option to set secure flag on session and autologin cookie

Added by Dylan Wilder-Tack about 16 years ago. Updated about 13 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
2008-04-03
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Is it possible to have a GUI setting to control the secure flag on the session and autologin cookies? I was able to set them by making the changes below:

app/controllers/account_controller.rb
cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now, :secure => true }

config/environment.rb
ActionController::Base.session_options[:session_secure] = true

thanks!


Related issues

Related to Redmine - Feature #1763: Autologin-cookie should be configurableClosed2008-08-11

Actions
Actions

Also available in: Atom PDF