Update basic_auth.py

This commit is contained in:
Inoland
2025-10-24 12:41:32 +04:00
parent b8de4d0215
commit 780cc238c1
@@ -76,5 +76,6 @@ try:
app = server.PromptServer.instance.app
middleware = InoBasicAuthClass()
app.middlewares.insert(0, middleware.handle)
print(f"Successfully registered basic auth middleware.")
except Exception as e:
print(f"Failed to register basic auth middleware: {e}")