mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
db: Fix insert_tagged_hsm_key doesn't cache the hsm key (#2389)
Signed-off-by: David Mulder <dmulder@samba.org> Co-authored-by: Firstyear <william@blackhats.net.au>
This commit is contained in:
parent
bb6709d88a
commit
dfc4bb5b25
|
@ -324,7 +324,7 @@ impl<'a> KeyStoreTxn for DbTxn<'a> {
|
||||||
|
|
||||||
let mut stmt = self
|
let mut stmt = self
|
||||||
.conn
|
.conn
|
||||||
.prepare("INSERT OR REPLACE INTO hsm_int_t (key, value) VALUES (:key, :value)")
|
.prepare("INSERT OR REPLACE INTO hsm_data_t (key, value) VALUES (:key, :value)")
|
||||||
.map_err(|e| self.sqlite_error("prepare", &e))?;
|
.map_err(|e| self.sqlite_error("prepare", &e))?;
|
||||||
|
|
||||||
stmt.execute(named_params! {
|
stmt.execute(named_params! {
|
||||||
|
|
Loading…
Reference in a new issue