Moved TwoFactor services into Services\UserSystem namespace

This commit is contained in:
Jan Böhmer 2022-11-14 20:02:58 +01:00
parent 5a1d4251f4
commit 1e106a3da1
5 changed files with 7 additions and 7 deletions

View file

@ -49,7 +49,7 @@ use App\Events\SecurityEvent;
use App\Events\SecurityEvents;
use App\Form\TFAGoogleSettingsType;
use App\Form\UserSettingsType;
use App\Services\TFA\BackupCodeManager;
use App\Services\UserSystem\TFA\BackupCodeManager;
use Doctrine\ORM\EntityManagerInterface;
use RuntimeException;
use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\GoogleAuthenticator;

View file

@ -40,7 +40,7 @@ declare(strict_types=1);
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
namespace App\Services\TFA;
namespace App\Services\UserSystem\TFA;
use Exception;
use RuntimeException;

View file

@ -40,7 +40,7 @@ declare(strict_types=1);
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
namespace App\Services\TFA;
namespace App\Services\UserSystem\TFA;
use App\Entity\UserSystem\User;

View file

@ -40,9 +40,9 @@ declare(strict_types=1);
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
namespace App\Tests\Services\TFA;
namespace App\Tests\Services\UserSystem\TFA;
use App\Services\TFA\BackupCodeGenerator;
use App\Services\UserSystem\TFA\BackupCodeGenerator;
use PHPUnit\Framework\TestCase;
use RuntimeException;

View file

@ -40,10 +40,10 @@ declare(strict_types=1);
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
namespace App\Tests\Services\TFA;
namespace App\Tests\Services\UserSystem\TFA;
use App\Entity\UserSystem\User;
use App\Services\TFA\BackupCodeManager;
use App\Services\UserSystem\TFA\BackupCodeManager;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class BackupCodeManagerTest extends WebTestCase