|
|
@ -16,7 +16,7 @@ module LoginHelper
|
|
|
|
:expires => 1.month.from_now,
|
|
|
|
:expires => 1.month.from_now,
|
|
|
|
:path => '/',
|
|
|
|
:path => '/',
|
|
|
|
:secure => false,
|
|
|
|
:secure => false,
|
|
|
|
:httponly => true
|
|
|
|
:httponly => false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if edu_setting('cookie_domain').present?
|
|
|
|
if edu_setting('cookie_domain').present?
|
|
|
|
cookie_options = cookie_options.merge(domain: edu_setting('cookie_domain'))
|
|
|
|
cookie_options = cookie_options.merge(domain: edu_setting('cookie_domain'))
|
|
|
|