Register clients' passwords using OPAQUE

This commit is contained in:
Valentin Tolmer
2021-06-24 18:23:23 +02:00
committed by nitnelave
parent 8b73de0df7
commit e09c73efce
6 changed files with 199 additions and 107 deletions

View File

@@ -42,6 +42,7 @@ pub mod login {
}
/// The messages for the 3-step OPAQUE registration process.
/// It is used to reset a user's password.
pub mod registration {
use super::*;
@@ -117,7 +118,6 @@ pub struct CreateUserRequest {
pub display_name: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub password: Option<String>,
}
#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Default)]