fixing bugs
This commit is contained in:
@@ -33,13 +33,13 @@ impl From<User> for UserDto {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct LoginDto {
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct RegisterDto {
|
||||
pub username: String,
|
||||
pub email: String,
|
||||
|
||||
Reference in New Issue
Block a user