feat: add change password

This commit is contained in:
2026-06-08 11:55:51 +03:00
parent 6d7df5836a
commit e208792738
9 changed files with 120 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ from src.application.commands import (
UpdateOrganizationCommand,
UpdatePurchaseRequestStatusCommand,
UploadOrganizationDocumentCommand,
SetPasswordCommand,
)
from src.application.contracts import IHashService, IJwtService, ILogger
from src.infrastructure.config import settings
@@ -159,3 +160,10 @@ def get_set_purchase_request_quote_command(
logger: ILogger = Depends(get_logger),
) -> SetPurchaseRequestQuoteCommand:
return SetPurchaseRequestQuoteCommand(uow, logger)
def get_set_password_command(
uow: IUnitOfWork = Depends(get_unit_of_work),
hash_service: IHashService = Depends(get_hash_service),
logger: ILogger = Depends(get_logger),
) -> SetPasswordCommand:
return SetPasswordCommand(uow, hash_service, logger)