fix: repair login endpoint registration in auth router

This commit is contained in:
2026-04-19 17:20:11 +03:00
parent 7ff9a705cd
commit d9ead1aafd
6 changed files with 272 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ import subprocess
from .. import models, schemas, database, auth
from ..logger import log
router = APIRouter(prefix="/auth", tags=["auth"])
router = APIRouter(prefix="/users", tags=["auth"])
limiter = Limiter(key_func=get_remote_address)
pwd_context = CryptContext(schemes=["pbkdf2_sha256"], deprecated="auto")