Skip to content

Commit

Permalink
Fix docstrings in superset/config.py (#8931)
Browse files Browse the repository at this point in the history
- Replace ldap with LDAP
- Replace `(username/password()` with `(username/password)`
  • Loading branch information
moshthepitt authored and dpgaspar committed Jan 7, 2020
1 parent 93bcace commit 28563ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/config.py
Expand Up @@ -202,7 +202,7 @@ def _try_json_readsha(filepath, length): # pylint: disable=unused-argument
# ----------------------------------------------------
# The authentication type
# AUTH_OID : Is for OpenID
# AUTH_DB : Is for database (username/password()
# AUTH_DB : Is for database (username/password)
# AUTH_LDAP : Is for LDAP
# AUTH_REMOTE_USER : Is for using REMOTE_USER from web server
AUTH_TYPE = AUTH_DB
Expand All @@ -219,7 +219,7 @@ def _try_json_readsha(filepath, length): # pylint: disable=unused-argument
# The default user self registration role
# AUTH_USER_REGISTRATION_ROLE = "Public"

# When using LDAP Auth, setup the ldap server
# When using LDAP Auth, setup the LDAP server
# AUTH_LDAP_SERVER = "ldap://ldapserver.new"

# Uncomment to setup OpenID providers example for OpenID authentication
Expand Down

0 comments on commit 28563ad

Please sign in to comment.