Fix logger.debug indentation in teardown_superuser
function
This commit is contained in:
parent
6a20900308
commit
6aabedba3d
1 changed files with 3 additions and 1 deletions
|
|
@ -134,7 +134,9 @@ def teardown_superuser(settings_service, session):
|
||||||
|
|
||||||
if not settings_service.auth_settings.AUTO_LOGIN:
|
if not settings_service.auth_settings.AUTO_LOGIN:
|
||||||
try:
|
try:
|
||||||
logger.debug("AUTO_LOGIN is set to False. Removing default superuser if exists.")
|
logger.debug(
|
||||||
|
"AUTO_LOGIN is set to False. Removing default superuser if exists."
|
||||||
|
)
|
||||||
username = DEFAULT_SUPERUSER
|
username = DEFAULT_SUPERUSER
|
||||||
from langflow.services.database.models.user.user import User
|
from langflow.services.database.models.user.user import User
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue