Added basic logging in
Some checks failed
Build Crate / build (push) Failing after 54s

Needs a lot of work
This commit is contained in:
2024-08-26 00:09:08 -04:00
parent 99b4d9af1a
commit 0f20ba3b86
13 changed files with 174 additions and 45 deletions

View File

@@ -6,6 +6,8 @@ use web_sys::Event;
use crate::{
capsules::login_form::{LoginFormProps, LOGIN_FORM},
endpoints::LOGIN,
models::auth::LoginInfo,
state_enums::{GameState, LoginState, OpenState},
templates::global_state::AppStateRx,
};
@@ -81,9 +83,9 @@ pub fn Header<'a, G: Html>(cx: Scope<'a>, HeaderProps { game, title }: HeaderPro
(LOGIN_FORM.widget(cx, "",
LoginFormProps{
remember_me: true,
endpoint: "".to_string(),
lost_password_url: Some("".to_string()),
forgot_password_url: Some("".to_string()),
endpoint: "".to_owned(),
lost_password_url: Some("".to_owned()),
forgot_password_url: Some("".to_owned()),
}
))
}