Skip to content

Conversation

jasonmccreary
Copy link
Contributor

As this likely changes between environments, figured it should be part of the environment configuration. Not entirely happy with the name though. While descriptive, SESSION_HTTPS_ONLY_COOKIES seemed long.

@@ -161,7 +161,7 @@
|
*/

'secure' => false,
'secure' => env('SESSION_SECURE_COOKIE', false),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think SESSION_COOKIE_SECURE is a better name

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not SECURE_SESSIONS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was trying to match the other names with the SESSION_ prefix. If you're open to breaking trend, I like SECURE_SESSION_COOKIES best.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think SESSION_SECURE is the right choice, because we already have SESSION_DOMAIN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants