Skip to main content

delete_user

Function delete_user 

Source
pub async fn delete_user(
    username: &str,
    database: Arc<Database>,
) -> Result<bool, Error>
Expand description

Deletes an operator, cascading to their sessions. false when there was no such user.

The bare form, for a caller with nobody to ask – see the note above the deletes in crate::admin::ops.