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

Diff user doc #28

Merged
merged 2 commits into from
Dec 28, 2015
Merged

Diff user doc #28

merged 2 commits into from
Dec 28, 2015

Conversation

jo
Copy link
Owner

@jo jo commented Dec 28, 2015

No description provided.

Johannes J. Schmidt added 2 commits December 21, 2015 10:37
user docs have special fields, `derived_key`, `iterations`, `password_scheme`
and `salt` which are calculated server side based on the `password` property.
This change ignores those fields for comparison as well as the password field as
long as the password has not been changed.
This prevents couchdb-push to update user docs even if they have not changed.
The resulting doc will have a different `salt` and `derived_key` and existing
sessions will be invalid.

Closes jo#25
@jo
Copy link
Owner Author

jo commented Dec 28, 2015

ping @lucidNTR

@jo
Copy link
Owner Author

jo commented Dec 28, 2015

ping @gr2m

jo added a commit that referenced this pull request Dec 28, 2015
@jo jo merged commit 2c8fc86 into jo:master Dec 28, 2015
@jo jo deleted the diff-user-doc branch December 28, 2015 13:27
@gr2m
Copy link

gr2m commented Dec 28, 2015

very nice 👍

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.

2 participants