mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
Update vault out of sync error message in CipherService.cs
Suggested change to error message to reduce confusion for non-technical users. Also if vault out of sync the changes cannot be saved so the error is misleading for the user. See forum discussion at https://community.bitwarden.com/t/clearer-error-message-when-vault-is-out-of-sync/16154/8
This commit is contained in:
parent
c553ec6aa0
commit
9f6727dd65
@ -1013,7 +1013,7 @@ public class CipherService : ICipherService
|
||||
if ((cipher.RevisionDate - lastKnownRevisionDate.Value).Duration() > TimeSpan.FromSeconds(1))
|
||||
{
|
||||
throw new BadRequestException(
|
||||
"The cipher you are updating is out of date. Please save your work, sync your vault, and try again."
|
||||
"Your vault is out of sync & changes could not be saved. Please logout & back in to your vault and try again."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user