Make passwords optional when registering a new user

This commit is contained in:
Valentin Tolmer
2021-06-14 16:32:10 +02:00
committed by nitnelave
parent 3c916a2530
commit 973fac4bb8
6 changed files with 72 additions and 39 deletions

View File

@@ -67,7 +67,7 @@ impl Component for CreateUserForm {
display_name: Some(get_element("displayname")),
first_name: Some(get_element("firstname")),
last_name: Some(get_element("lastname")),
password: get_element("password"),
password: Some(get_element("password")),
};
self.create_user(req);
}