mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Moved TwoFactor services into Services\UserSystem namespace
This commit is contained in:
parent
5a1d4251f4
commit
1e106a3da1
5 changed files with 7 additions and 7 deletions
|
@ -49,7 +49,7 @@ use App\Events\SecurityEvent;
|
||||||
use App\Events\SecurityEvents;
|
use App\Events\SecurityEvents;
|
||||||
use App\Form\TFAGoogleSettingsType;
|
use App\Form\TFAGoogleSettingsType;
|
||||||
use App\Form\UserSettingsType;
|
use App\Form\UserSettingsType;
|
||||||
use App\Services\TFA\BackupCodeManager;
|
use App\Services\UserSystem\TFA\BackupCodeManager;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\GoogleAuthenticator;
|
use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\GoogleAuthenticator;
|
||||||
|
|
|
@ -40,7 +40,7 @@ declare(strict_types=1);
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\Services\TFA;
|
namespace App\Services\UserSystem\TFA;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
|
@ -40,7 +40,7 @@ declare(strict_types=1);
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 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;
|
use App\Entity\UserSystem\User;
|
||||||
|
|
|
@ -40,9 +40,9 @@ declare(strict_types=1);
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 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 PHPUnit\Framework\TestCase;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
|
|
|
@ -40,10 +40,10 @@ declare(strict_types=1);
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 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\Entity\UserSystem\User;
|
||||||
use App\Services\TFA\BackupCodeManager;
|
use App\Services\UserSystem\TFA\BackupCodeManager;
|
||||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||||
|
|
||||||
class BackupCodeManagerTest extends WebTestCase
|
class BackupCodeManagerTest extends WebTestCase
|
Loading…
Add table
Add a link
Reference in a new issue