freeleaps-authentication/webapi/routes/auth/__init__.py

10 lines
305 B
Python
Raw Normal View History

2025-10-30 03:26:05 +00:00
from fastapi import APIRouter
from .send_email_code import router as sec_router
from .send_mobile_code import router as smc_router
router = APIRouter()
router.include_router(sec_router, prefix="/code", tags=["authentication"])
router.include_router(smc_router, prefix="/code", tags=["authentication"])