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