diff --git a/src/backend/langflow/services/database/manager.py b/src/backend/langflow/services/database/manager.py index fb7bcdf8f..3c842bf52 100644 --- a/src/backend/langflow/services/database/manager.py +++ b/src/backend/langflow/services/database/manager.py @@ -166,7 +166,7 @@ class DatabaseManager(Service): try: settings_manager = get_settings_manager() # remove the default superuser if auto_login is enabled - # using the FIRST_SUPERUSER to get the user + # using the SUPERUSER to get the user if settings_manager.auth_settings.AUTO_LOGIN: logger.debug("Removing default superuser") username = settings_manager.auth_settings.SUPERUSER diff --git a/src/backend/langflow/services/utils.py b/src/backend/langflow/services/utils.py index 4b16edc69..40ab1d1bd 100644 --- a/src/backend/langflow/services/utils.py +++ b/src/backend/langflow/services/utils.py @@ -11,7 +11,7 @@ def setup_superuser(): """ Setup the superuser. """ - # We will use the FIRST_SUPERUSER and FIRST_SUPERUSER_PASSWORD + # We will use the SUPERUSER and SUPERUSER_PASSWORD # vars on settings_manager.auth_settings to create the superuser # if it does not exist. settings_manager = get_settings_manager()