code: def load_auth_settings(config):
      if config is None:
          return
      curr_auth_settings = global_state.get_auth_settings()
      active = get_config_val(
          config,
          curr_auth_settings,
          "active",
          section="auth",
          getter="getboolean",
      )
      username = get_config_val(
          config, curr_auth_settings, "username", section="auth"
      )
      password = get_config_val(
          config, curr_auth_settings, "password", section="auth"
      )
  
      global_state.set_auth_settings(
          dict(active=active, username=username, password=password)
      )
  
file_path: dtale/dtale/config.py
imports: import json
  import os
  from six import string_types
  from six.moves.configparser import ConfigParser
  import dtale.global_state
  from dtale.utils import dict_merge
label_desc: Use image node_id 7 for calling a global function with example usage: load_auth_settings(config) without return types