Skip to content

Commit

Permalink
Fix last synced not being reset on vault clear
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Dec 28, 2023
1 parent 283c259 commit 94e49e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 94e49e6

Please sign in to comment.