feat(reset_password): add invitation and reset password activation basic flow
This commit is contained in:
parent
b956bdbf05
commit
8d20cab18f
14 changed files with 328 additions and 20 deletions
|
|
@ -51,7 +51,7 @@ pub async fn perform_register(
|
|||
password_hash,
|
||||
status: UserStatus::Active,
|
||||
roles: Json(Vec::new()), // take the default role in the config
|
||||
activation_token: None,
|
||||
reset_password_token: None,
|
||||
created_at: Utc::now(),
|
||||
website: None,
|
||||
last_login_at: None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue