some type of authentication for the site

This commit is contained in:
Reid 2023-09-21 18:43:41 -07:00
parent b3451a641e
commit cdaf5febb7
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
13 changed files with 318 additions and 7 deletions

View file

@ -45,7 +45,7 @@ pub fn login_account(input: Form<FromLoginAccount>) -> status::Custom<&'static s
let query_result = accounts
.select(id)
.filter(username.eq(input.userName.clone()))
.get_result::<i32>(connection);
.get_result::<i32, >(connection);
match query_result {
Ok(account_id_val) => {