Fixes
This commit is contained in:
parent
2e4d6938bb
commit
4af22db38d
32
.sqlx/query-f0f7cbbb6eb9867a0ca50d64cbc6935de981c6c952505dc57f6a86d515410472.json
generated
Normal file
32
.sqlx/query-f0f7cbbb6eb9867a0ca50d64cbc6935de981c6c952505dc57f6a86d515410472.json
generated
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"db_name": "SQLite",
|
||||||
|
"query": "\n SELECT \n id as \"id: String\",\n username,\n password_hash\n FROM users\n WHERE username = ?\n ",
|
||||||
|
"describe": {
|
||||||
|
"columns": [
|
||||||
|
{
|
||||||
|
"name": "id: String",
|
||||||
|
"ordinal": 0,
|
||||||
|
"type_info": "Text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "username",
|
||||||
|
"ordinal": 1,
|
||||||
|
"type_info": "Text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "password_hash",
|
||||||
|
"ordinal": 2,
|
||||||
|
"type_info": "Text"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
"Right": 1
|
||||||
|
},
|
||||||
|
"nullable": [
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"hash": "f0f7cbbb6eb9867a0ca50d64cbc6935de981c6c952505dc57f6a86d515410472"
|
||||||
|
}
|
@ -1,5 +1,3 @@
|
|||||||
use bcrypt;
|
|
||||||
use chrono;
|
|
||||||
use rocket::http::{Cookie, CookieJar, Status};
|
use rocket::http::{Cookie, CookieJar, Status};
|
||||||
use rocket::serde::{json::Json, Deserialize, Serialize};
|
use rocket::serde::{json::Json, Deserialize, Serialize};
|
||||||
use rocket_db_pools::Connection;
|
use rocket_db_pools::Connection;
|
||||||
|
Loading…
Reference in New Issue
Block a user