pub async fn handle_register( pool: &State<MySqlPool>, data: String, cookies: &CookieJar<'_>, auth_config: &State<AuthConfig>, ) -> Result<Value, Custom<String>>
Register a new user