refactor(core): centralize reserved system user identity

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-08-28 19:34:18 -04:00
parent 24aa6ea716
commit d98a05be19
+2 -2
View File
@@ -7,8 +7,8 @@ namespace KTXM\AuthenticationProviderMail;
use KTXC\Service\UserAccountsService; use KTXC\Service\UserAccountsService;
use KTXF\Mail\Object\Address; use KTXF\Mail\Object\Address;
use KTXF\Mail\Object\MessagePropertiesBaseInterface; use KTXF\Mail\Object\MessagePropertiesBaseInterface;
use KTXF\Mail\Provider\ProviderBaseInterface;
use KTXF\Mail\Submission\EntitySubmitResult; use KTXF\Mail\Submission\EntitySubmitResult;
use KTXF\Resource\SystemIdentity;
use KTXF\Security\Authentication\AuthenticationProviderAbstract; use KTXF\Security\Authentication\AuthenticationProviderAbstract;
use KTXF\Security\Authentication\ProviderContext; use KTXF\Security\Authentication\ProviderContext;
use KTXF\Security\Authentication\ProviderResult; use KTXF\Security\Authentication\ProviderResult;
@@ -264,7 +264,7 @@ class Provider extends AuthenticationProviderAbstract
// Submit through the system mail route for the authentication channel // Submit through the system mail route for the authentication channel
$result = $this->mailManager->entitySubmit( $result = $this->mailManager->entitySubmit(
$tenantId, $tenantId,
ProviderBaseInterface::USER_SYSTEM, SystemIdentity::USER,
'authentication@system', 'authentication@system',
null, null,
[ [