Login for the wasm interface

This commit is contained in:
2021-08-12 15:48:02 +02:00
parent e5d8e6c62f
commit 1aba33fb91
7 changed files with 187 additions and 44 deletions
+6
View File
@@ -25,6 +25,12 @@ impl Default for UserRequestForm {
}
}
#[derive(Debug, Deserialize, Default, Serialize, Clone)]
pub struct LoginUser {
pub username: String,
pub password: String,
}
/// The Struct that is responsible for creating and editing users.
#[derive(Default, Debug, Clone, Serialize, Deserialize)]
pub struct UserDelta {