mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-25 16:17:56 +01:00
Commit on useradd
This commit is contained in:
parent
c0b311e14c
commit
648026574f
@ -110,6 +110,7 @@ impl UserDB {
|
|||||||
let mut txn = self.env.begin_rw_txn()?;
|
let mut txn = self.env.begin_rw_txn()?;
|
||||||
let flags = WriteFlags::empty();
|
let flags = WriteFlags::empty();
|
||||||
self.db.put(&mut txn, &uid.as_bytes(), user, flags)?;
|
self.db.put(&mut txn, &uid.as_bytes(), user, flags)?;
|
||||||
|
txn.commit()?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user