use std::sync::Arc; use crate::db::ApiAuthed; use crate::users::{EditPassword, NewUser}; use crate::{db::DB, webhook_util::WebhookShared}; use argon2::Argon2; use http::StatusCode; use windmill_common::error::{Error, Result}; pub async fn create_user( _authed: ApiAuthed, _db: DB, _webhook: WebhookShared, _argon2: Arc>, _rsmq: Option, mut _nu: NewUser, ) -> Result<(StatusCode, String)> { Err(Error::InternalErr( "Not implemented in Windmill's Open Source repository".to_string(), )) } pub async fn set_password( _db: DB, _argon2: Arc>, _authed: ApiAuthed, _ep: EditPassword, ) -> Result { Err(Error::InternalErr( "Not implemented in Windmill's Open Source repository".to_string(), )) } pub fn send_email_if_possible(_subject: &str, _content: &str, _to: &str) { tracing::warn!( "send_email_if_possible is not implemented in Windmill's Open Source repository" ); }