Remove repository import from setup_utils and move password-hash helper to setup service

This commit is contained in:
2026-04-17 15:38:41 +02:00
parent e70d98809b
commit 74ff4cb4b8
4 changed files with 4 additions and 15 deletions

View File

@@ -24,8 +24,8 @@ if TYPE_CHECKING:
from app.repositories.protocols import SessionRepository
from app.repositories import session_repo as default_session_repo
from app.services.setup_service import get_password_hash
from app.utils.constants import SESSION_TOKEN_BYTES, SESSION_TOKEN_SIGNATURE_SEPARATOR
from app.utils.setup_utils import get_password_hash
from app.utils.time_utils import add_minutes, utc_now
log: structlog.stdlib.BoundLogger = structlog.get_logger()