Needs a lot of work
This commit is contained in:
@@ -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()),
|
||||
}
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user