feat: confirm email when put

This commit is contained in:
Fu Zi Xiang 2023-10-13 16:44:25 +08:00
parent de5a33da97
commit 114e278f5d
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ pub async fn put_user_handler(
&AdminUserParams {
email: param.email.to_owned(),
password: Some(param.password.to_owned()),
email_confirm: true,
..Default::default()
},
)