[PR #5259] [MERGED] Fix another sync issue with native clients #23114

Closed
opened 2026-05-16 05:47:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/5259
Author: @BlackDex
Created: 12/6/2024
Status: Merged
Merged: 12/8/2024
Merged by: @dani-garcia

Base: mainHead: fix-sync


📝 Commits (1)

  • 565d3e6 Fix another sync issue with native clients

📊 Changes

3 files changed (+4 additions, -5 deletions)

View changed files

📝 src/api/core/ciphers.rs (+1 -1)
📝 src/db/models/cipher.rs (+2 -3)
📝 src/db/models/mod.rs (+1 -1)

📄 Description

The reprompt value somehow sometimes has a value of 4. This isn't a valid value, and doesn't cause issues with other clients, but the native clients are more strict.

This commit fixes this by validating the value before storing and returning.

Fixes #5237


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/5259 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 12/6/2024 **Status:** ✅ Merged **Merged:** 12/8/2024 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-sync` --- ### 📝 Commits (1) - [`565d3e6`](https://github.com/dani-garcia/vaultwarden/commit/565d3e699331f291b6515f4c52239fce46780f25) Fix another sync issue with native clients ### 📊 Changes **3 files changed** (+4 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/ciphers.rs` (+1 -1) 📝 `src/db/models/cipher.rs` (+2 -3) 📝 `src/db/models/mod.rs` (+1 -1) </details> ### 📄 Description The `reprompt` value somehow sometimes has a value of `4`. This isn't a valid value, and doesn't cause issues with other clients, but the native clients are more strict. This commit fixes this by validating the value before storing and returning. Fixes #5237 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-16 05:47:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#23114