Added token validation

This commit is contained in:
2026-04-25 13:21:31 +02:00
parent 616efa5282
commit c4d374dbfe
3 changed files with 86 additions and 1 deletions

View File

@@ -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,