Added function headers in database.add
This commit is contained in:
parent
c8410a877c
commit
e92044ec1b
16
src/database/add.py
Normal file
16
src/database/add.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import mariadb
|
||||||
|
|
||||||
|
|
||||||
|
def add_master_pass(hashed_passwd: bytes, salt: bytes, con: mariadb.Connection) -> bool:
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
def add_account(
|
||||||
|
id: int,
|
||||||
|
salt: bytes,
|
||||||
|
acc_name: str,
|
||||||
|
enc_login: bytes,
|
||||||
|
enc_passwd: bytes,
|
||||||
|
con: mariadb.Connection,
|
||||||
|
) -> bool:
|
||||||
|
...
|
Reference in New Issue
Block a user