some type of authentication for the site
This commit is contained in:
parent
b3451a641e
commit
cdaf5febb7
13 changed files with 318 additions and 7 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue