feat(users): invite user without email (#3328)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Rachit Naithani
2024-01-11 17:26:31 +05:30
committed by GitHub
parent ed07c5ba90
commit 6a4706323c
5 changed files with 38 additions and 25 deletions

View File

@ -86,6 +86,7 @@ pub struct InviteUserRequest {
#[derive(Debug, serde::Serialize)]
pub struct InviteUserResponse {
pub is_email_sent: bool,
pub password: Option<Secret<String>>,
}
#[derive(Debug, serde::Deserialize, serde::Serialize)]