Function change_username

Source
async fn change_username(
    old_username: String,
    password: String,
    new_username: String,
) -> Result<UserSession, ServerFnError>