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

Fix Pw History null dates #4966

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

BlackDex
Copy link
Collaborator

It seemed to have been possible to have null date values. This PR fixes this by setting the epoch start date if either the date does not exists or is not a string.

This should solve sync issues with the new native mobile clients.

Fixes #4932 (comment)

It seemed to have been possible to have `null` date values.
This PR fixes this by setting the epoch start date if either the date does not exists or is not a string.

This should solve sync issues with the new native mobile clients.

Fixes dani-garcia#4932 (comment)

Signed-off-by: BlackDex <[email protected]>
@BlackDex BlackDex marked this pull request as ready for review September 18, 2024 16:28
@dani-garcia dani-garcia merged commit 1bf8520 into dani-garcia:main Sep 18, 2024
5 checks passed
@BlackDex BlackDex deleted the fix-pw-history-null-date branch September 20, 2024 10:48
BlackDex added a commit to BlackDex/vaultwarden that referenced this pull request Oct 5, 2024
It seemed to have been possible to have `null` date values.
This PR fixes this by setting the epoch start date if either the date does not exists or is not a string.

This should solve sync issues with the new native mobile clients.

Fixes dani-garcia#4932 (comment)

Signed-off-by: BlackDex <[email protected]>
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