Make passwords optional when registering a new user

This commit is contained in:
Valentin Tolmer authored and nitnelave committed 2021-06-23 10:27:59 +02:00
1 parent 3c916a2530
commit 973fac4bb8
6 files changed
+72 -39

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ pub struct CreateUserRequest {
pub display_name: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub password: String,
pub password: Option<String>,
}
#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Default)]