Start to work on 2FA
This commit is contained in:
src
templates/settings
@ -108,10 +108,9 @@ pub async fn change_password_route(user: CurrentUser,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
HttpResponse::Ok()
|
||||
.body(ChangePasswordPage {
|
||||
_p: BaseSettingsPage::get("Change password", &user, danger, success),
|
||||
min_pwd_len: MIN_PASS_LEN,
|
||||
}.render().unwrap())
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user