Remove repository import from setup_utils and move password-hash helper to setup service
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user