Revision 0b03b9bd
Added by Shlomi Zadok about 9 years ago
app/assets/javascripts/application.js | ||
---|---|---|
password_caps_lock_hint();
|
||
|
||
var tz = jstz.determine();
|
||
$.cookie('timezone', tz.name(), { path: '/' });
|
||
$.cookie('timezone', tz.name(), { path: '/', secure: location.protocol === 'https:' });
|
||
}
|
||
|
||
function preserve_selected_options(elem) {
|
Also available in: Unified diff
fixes #10275 - Add secure cookie when in ssl (CVE-2015-3155)