feat: confirm email when put
This commit is contained in:
parent
de5a33da97
commit
114e278f5d
|
|
@ -38,6 +38,7 @@ pub async fn put_user_handler(
|
||||||
&AdminUserParams {
|
&AdminUserParams {
|
||||||
email: param.email.to_owned(),
|
email: param.email.to_owned(),
|
||||||
password: Some(param.password.to_owned()),
|
password: Some(param.password.to_owned()),
|
||||||
|
email_confirm: true,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue