From c5434ba84279d84ef3257ba35e5e5a2d60e02fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Mon, 14 Nov 2022 20:04:07 +0100 Subject: [PATCH] Moved PasswordResetManager into Services\UserSystem namespace --- src/Controller/SecurityController.php | 2 +- src/Services/{ => UserSystem}/PasswordResetManager.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename src/Services/{ => UserSystem}/PasswordResetManager.php (99%) diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php index 9c77c442..c2cf0ba8 100644 --- a/src/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -45,7 +45,7 @@ namespace App\Controller; use App\Entity\UserSystem\User; use App\Events\SecurityEvent; use App\Events\SecurityEvents; -use App\Services\PasswordResetManager; +use App\Services\UserSystem\PasswordResetManager; use Doctrine\ORM\EntityManagerInterface; use Gregwar\CaptchaBundle\Type\CaptchaType; use RuntimeException; diff --git a/src/Services/PasswordResetManager.php b/src/Services/UserSystem/PasswordResetManager.php similarity index 99% rename from src/Services/PasswordResetManager.php rename to src/Services/UserSystem/PasswordResetManager.php index 949afe6e..5a6aa29c 100644 --- a/src/Services/PasswordResetManager.php +++ b/src/Services/UserSystem/PasswordResetManager.php @@ -40,7 +40,7 @@ declare(strict_types=1); * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -namespace App\Services; +namespace App\Services\UserSystem; use App\Entity\UserSystem\User; use DateTime; @@ -50,7 +50,6 @@ use Symfony\Component\Mailer\MailerInterface; use Symfony\Component\Mime\Address; use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface; use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface; - use Symfony\Component\PasswordHasher\PasswordHasherInterface; use Symfony\Contracts\Translation\TranslatorInterface;