Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#317) - Add allow_persistent_cookies config #319

Merged
merged 1 commit into from
Jun 9, 2018

Conversation

Ciebiada
Copy link
Contributor

Why:
To have an easy way of persisting user's session

What:
Implement allow_persistent_cookies setting from CouchDB (https://github.com/apache/couchdb/blob/817b2b6f5f0883092df60c1ec8ec7ec6d6094a23/src/couch/src/couch_httpd_auth.erl#L443)

I couldn't find any tests responsible for the actual cookies. Maybe you can point me into the right direction?

@marten-de-vries
Copy link
Member

Thanks for your pull request. Sorry for getting to this only now. This looks good! I'm happy to merge this, provided it passes the test suite. If you could rebase it against the latest master, that should fix the current Travis errors.

I don't think there aren't any cookie-specific tests, if you want to add some that would be great, but I'm happy to take this as-is.

@Ciebiada
Copy link
Contributor Author

Ciebiada commented Jun 9, 2018

Thanks. Done!

@Ciebiada Ciebiada closed this Jun 9, 2018
@Ciebiada Ciebiada reopened this Jun 9, 2018
@Ciebiada
Copy link
Contributor Author

Ciebiada commented Jun 9, 2018

(Closed on accident)

@marten-de-vries marten-de-vries merged commit 0756f48 into pouchdb:master Jun 9, 2018
@marten-de-vries
Copy link
Member

Thanks!

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.

None yet

2 participants