fix: rename auth module to auth_service to resolve circular import
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 2m4s
Run Tests / Backend Tests (push) Failing after 2m12s
Run Tests / Frontend Tests (push) Failing after 8m55s
Run Tests / Test Summary (push) Failing after 18s

This commit is contained in:
Gan, Jimmy
2026-04-02 01:02:45 +08:00
parent 2b3e5d6e7c
commit 1b769bca1d
7 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ from fastapi.responses import JSONResponse
from slowapi import Limiter
from slowapi.util import get_remote_address
from slowapi.errors import RateLimitExceeded
from routers import docker_router, gitea, files, terminal, system, auth as auth_router, chat_summary, security, passkey, totp, litellm, cc_connect, info_engine, opc_tasks, opc_agents, opc_ws, opc_projects
import auth as auth_module
from routers import docker_router, gitea, files, terminal, system, chat_summary, security, passkey, totp, litellm, cc_connect, info_engine, opc_tasks, opc_agents, opc_ws, opc_projects, auth as auth_router
import auth_service as auth_module
import config
from rbac import require_page
+1 -1
View File
@@ -9,7 +9,7 @@ from slowapi import Limiter
from slowapi.util import get_remote_address
import jwt
import config
import auth
import auth_service as auth
import logging
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -6,7 +6,7 @@ from typing import Set
import json
import asyncio
import logging
from auth import get_current_user_ws
from auth_service import get_current_user_ws
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -14,7 +14,7 @@ from webauthn import (
)
from webauthn.helpers.structs import PublicKeyCredentialDescriptor, UserVerificationRequirement
from webauthn.helpers import bytes_to_base64url, base64url_to_bytes, options_to_json
import auth
import auth_service as auth
import config
router = APIRouter()
+1 -1
View File
@@ -7,7 +7,7 @@ from collections import Counter
from fastapi import WebSocket, Query
import asyncssh
import config
import auth
import auth_service as auth
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -2,7 +2,7 @@
from fastapi import APIRouter, Depends, HTTPException
from pydantic import BaseModel
import pyotp
import auth
import auth_service as auth
router = APIRouter()