mirror of
https://github.com/trussed-dev/piv-authenticator.git
synced 2026-06-20 04:16:15 -07:00
Fix location of storage on just-initialized PIV
This commit is contained in:
+1
-2
@@ -547,8 +547,7 @@ impl Persistent {
|
||||
let mut state = Self {
|
||||
keys,
|
||||
timestamp: 0,
|
||||
// In case of forgotten to rebind, ensure the bug is found
|
||||
storage: Location::Volatile,
|
||||
storage: options.storage,
|
||||
};
|
||||
state.save(client);
|
||||
state.reset_pin(Self::DEFAULT_PIN, client)?;
|
||||
|
||||
Reference in New Issue
Block a user