Add initial forgot password form
Some checks failed
Build Crate / build (push) Failing after 1m43s

This commit is contained in:
2024-08-26 20:15:48 -04:00
parent e376874afa
commit 242f9b1218
5 changed files with 170 additions and 8 deletions

View File

@@ -81,6 +81,7 @@ impl AuthDataRx {
#[rx(alias = "ModalOpenDataRx")]
pub struct ModalOpenData {
pub login: OpenState,
pub forgot_password: OpenState,
}
pub fn get_global_state_creator() -> GlobalStateCreator {
@@ -98,6 +99,7 @@ pub async fn get_build_state() -> AppState {
},
modals_open: ModalOpenData {
login: OpenState::Closed,
forgot_password: OpenState::Closed,
},
}
}