Function veloren_server::remove_admin

source ·
pub fn remove_admin(
    username: &str,
    login_provider: &LoginProvider,
    editable_settings: &mut EditableSettings,
    data_dir: &Path,
) -> Option<Uuid>
Expand description

If successful returns the Some(uuid) of the removed admin

NOTE: Do not allow this to be called from any command that doesn’t go through the CLI!