autologin token cookies domain修改

dev_repository_hjq
guange 10 years ago
parent f3a15ce313
commit 9ce1916fbb

@ -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

Loading…
Cancel
Save