autologin token cookies domain修改

This commit is contained in:
guange 2015-05-26 23:10:08 +08:00
parent f3a15ce313
commit 9ce1916fbb
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ class AccountController < ApplicationController
:expires => 1.month.from_now,
:path => (Redmine::Configuration['autologin_cookie_path'] || '/'),
:secure => (Redmine::Configuration['autologin_cookie_secure'] ? true : false),
:domain => '.trustie.net',
:httponly => true
}
cookies[autologin_cookie_name] = cookie_options