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