This commit is contained in:
parent
2facdcb2ea
commit
c667608fbb
7 changed files with 109 additions and 101 deletions
|
|
@ -63,7 +63,6 @@ pub async fn manage_users(db: Arc<DatabaseConnection>) {
|
|||
id: NotSet,
|
||||
username: Set(username),
|
||||
hashed_password: Set(hash_password(password)),
|
||||
current_bal_id: Set(None),
|
||||
owner_id: Set(None)
|
||||
};
|
||||
let res = new_user.clone().insert(db.as_ref()).await.unwrap();
|
||||
|
|
|
|||
Reference in a new issue