移除注册接口中未使用的邮箱字段
This commit is contained in:
@@ -25,8 +25,6 @@ struct RegisterRequest {
|
|||||||
username: String,
|
username: String,
|
||||||
#[validate(length(min = 6))]
|
#[validate(length(min = 6))]
|
||||||
password: String,
|
password: String,
|
||||||
#[validate(email)]
|
|
||||||
email: String,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
|
|||||||
Reference in New Issue
Block a user