sorcery icon indicating copy to clipboard operation
sorcery copied to clipboard

Set secure flag for remember_me cookie

Open paderinandrey opened this issue 3 years ago • 1 comments

Added the ability to set the secure flag for the remember_me cookie

Please ensure your pull request includes the following:

  • [x] Description of changes
  • [x] Update to CHANGELOG.md with short description and link to pull request
  • [x] Changes have related RSpec tests that ensure functionality does not break

paderinandrey avatar Dec 06 '21 18:12 paderinandrey

Ah, so this allows users to set secure cookies to true without needing force_ssl = true.

Just to sanity check, @paderinandrey does your use-case prevent you from using force_ssl (which also enables secure cookies)?

joshbuker avatar Dec 06 '21 20:12 joshbuker