Frontend cookies do not set Secure flag when SSL is in use

Follow-up from https://gitlab.com/gitlab-org/gitlab-ce/issues/49120#note_87503065:

Right now the frontend cookies don't appear to set this flag. I think we should change all calls to Cookies.set to something that will enable secure if HTTPS is being requested: https://github.com/js-cookie/js-cookie/blob/8b311b9dab5751fab3b09b58d215262e908e92e1/README.md#secure

image

Assignee Loading
Time tracking Loading