1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Update CipherService.cs

Tweak based on further discussion
This commit is contained in:
EDIflyer 2024-01-06 20:36:06 +00:00 committed by GitHub
parent 9f6727dd65
commit 8ef7f8435c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1013,7 +1013,7 @@ public class CipherService : ICipherService
if ((cipher.RevisionDate - lastKnownRevisionDate.Value).Duration() > TimeSpan.FromSeconds(1)) if ((cipher.RevisionDate - lastKnownRevisionDate.Value).Duration() > TimeSpan.FromSeconds(1))
{ {
throw new BadRequestException( throw new BadRequestException(
"Your vault is out of sync & changes could not be saved. Please logout & back in to your vault and try again." "The item cannot be saved because it is out of date. To edit this item, first sync your vault, or log out and back in."
); );
} }
} }