Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

Implement secure cookie #34

Open
turnkey-commerce wants to merge 2 commits into
apexskier:masterfrom
turnkey-commerce:secure-cookie
Open

Implement secure cookie #34
turnkey-commerce wants to merge 2 commits into
apexskier:masterfrom
turnkey-commerce:secure-cookie

Conversation

@turnkey-commerce
Copy link
Copy Markdown
Contributor

This PR resolves #33. By default the secure cookie option is set when the NewAuthorizer() is called. To turn it off a special function called AllowInsecureCookie() will need to be called to set it back to false. Error messages are generated if the secure cookie is on and it the site is served over http.

The example is updated so that it will work by default on non-https sites but it has been appropriately commented to not do such in production.

The httpauth version should be incremented since it changes default behavior.

@coveralls
Copy link
Copy Markdown

coveralls commented Jul 23, 2016

Coverage Status

Changes Unknown when pulling 1b0e405 on turnkey-commerce:secure-cookie into * on apexskier:master*.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to specify secure cookies in the session store

2 participants