login and register are sending data to the backend successfuly
This commit is contained in:
@@ -132,11 +132,12 @@ pub async fn back_to_main(
|
||||
|
||||
/// Validates input, shows loading, and spawns the login task.
|
||||
pub fn initiate_login(
|
||||
login_state: &LoginFormState,
|
||||
login_state: &mut LoginFormState,
|
||||
app_state: &mut AppState,
|
||||
mut auth_client: AuthClient,
|
||||
sender: mpsc::Sender<LoginResult>,
|
||||
) -> String {
|
||||
login_state.sync_from_editor();
|
||||
let username = login_state.username().to_string();
|
||||
let password = login_state.password().to_string();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user