From 8d7d2fb1f1ab408530256266d03c5a49ae55307e Mon Sep 17 00:00:00 2001 From: James Shubin Date: Sat, 4 Nov 2023 16:59:09 -0400 Subject: [PATCH] engine: resources: Add missing struct tags for password res Just noticed these. --- engine/resources/password.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/resources/password.go b/engine/resources/password.go index ffb11729..b12cf88b 100644 --- a/engine/resources/password.go +++ b/engine/resources/password.go @@ -58,14 +58,14 @@ type PasswordRes struct { Length uint16 `lang:"length" yaml:"length"` // Saved caches the password in the clear locally. - Saved bool + Saved bool `lang:"saved" yaml:"saved"` // CheckRecovery specifies that we should recover from, regenerate, and // carry on casually without erroring the resource if the "check" // facility fails. This can happen when loading a saved password from // disk which is not of the expected length. In this case, we'd discard // the old saved password and create a new one without erroring. - CheckRecovery bool + CheckRecovery bool `lang:"check_recovery" yaml:"check_recovery"` path string // the path to local storage recWatcher *recwatch.RecWatcher