Added token validation
This commit is contained in:
@@ -64,7 +64,7 @@ pub struct LoginScheme {
|
||||
pub pwd: String,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Debug, sqlx::FromRow)]
|
||||
#[derive(Deserialize, Serialize, Debug, Clone, sqlx::FromRow)]
|
||||
pub struct LoginModel {
|
||||
pub id: i16,
|
||||
pub last_name: String,
|
||||
|
||||
Reference in New Issue
Block a user