Fix last synced not being reset on vault clear

This commit is contained in:
Bernd Schoolmann 2023-12-28 01:25:59 +01:00
parent 283c259263
commit 94e49e6da3
No known key found for this signature in database

View File

@ -50,6 +50,7 @@ func (vault *Vault) Clear() {
vault.secureNotes = make(map[string]models.Cipher)
vault.sshKeyNoteIDs = make([]string, 0)
vault.envCredentials = make(map[string]string)
vault.lastSynced = 0
vault.unlockMutex()
}