app: Implement the second part of password reset

This commit is contained in:
Valentin Tolmer
2021-11-22 23:30:12 +01:00
committed by nitnelave
parent 9fb4afcf60
commit 4a5abfd395
5 changed files with 252 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ use crate::{
login::LoginForm,
logout::LogoutButton,
reset_password_step1::ResetPasswordStep1Form,
reset_password_step2::ResetPasswordStep2Form,
router::{AppRoute, Link, NavButton},
user_details::UserDetails,
user_table::UserTable,
@@ -193,6 +194,9 @@ impl App {
AppRoute::StartResetPassword => html! {
<ResetPasswordStep1Form />
},
AppRoute::FinishResetPassword(token) => html! {
<ResetPasswordStep2Form token=token />
},
}
}