From 9be8fabc77b5488087789200250cb2817f57ea0a Mon Sep 17 00:00:00 2001 From: Christian Moser Date: Wed, 11 Dec 2024 03:48:53 +0100 Subject: [PATCH] reqister-password-bundle added --- composer.json | 1 + composer.lock | 50 ++++++++++++++++++++++++++++- config/bundles.php | 1 + config/packages/reset_password.yaml | 5 +++ symfony.lock | 12 +++++++ 5 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 config/packages/reset_password.yaml diff --git a/composer.json b/composer.json index 770aaad..252ceb2 100644 --- a/composer.json +++ b/composer.json @@ -42,6 +42,7 @@ "symfony/validator": "7.2.*", "symfony/web-link": "7.2.*", "symfony/yaml": "7.2.*", + "symfonycasts/reset-password-bundle": "^1.23", "twig/extra-bundle": "^2.12|^3.0", "twig/twig": "^2.12|^3.0" }, diff --git a/composer.lock b/composer.lock index 3be164b..dbec97a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7fe141192d025e96fd12623b527e4e9a", + "content-hash": "232954beab41c910d3efc405b80c8fa1", "packages": [ { "name": "composer/semver", @@ -7361,6 +7361,54 @@ ], "time": "2024-10-23T06:56:12+00:00" }, + { + "name": "symfonycasts/reset-password-bundle", + "version": "v1.23.1", + "source": { + "type": "git", + "url": "https://github.com/SymfonyCasts/reset-password-bundle.git", + "reference": "bde42fe5956e0cd523931da886ee41ab660c45b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SymfonyCasts/reset-password-bundle/zipball/bde42fe5956e0cd523931da886ee41ab660c45b2", + "reference": "bde42fe5956e0cd523931da886ee41ab660c45b2", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=8.1.10", + "symfony/config": "^5.4 | ^6.0 | ^7.0", + "symfony/dependency-injection": "^5.4 | ^6.0 | ^7.0", + "symfony/deprecation-contracts": "^2.2 | ^3.0", + "symfony/http-kernel": "^5.4 | ^6.0 | ^7.0" + }, + "require-dev": { + "doctrine/annotations": "^1.0", + "doctrine/doctrine-bundle": "^2.8", + "doctrine/orm": "^2.13", + "symfony/framework-bundle": "^5.4 | ^6.0 | ^7.0", + "symfony/phpunit-bridge": "^5.4 | ^6.0 | ^7.0", + "symfony/process": "^6.4 | ^7.0 | ^7.1", + "symfonycasts/internal-test-helpers": "dev-main" + }, + "type": "symfony-bundle", + "autoload": { + "psr-4": { + "SymfonyCasts\\Bundle\\ResetPassword\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Symfony bundle that adds password reset functionality.", + "support": { + "issues": "https://github.com/SymfonyCasts/reset-password-bundle/issues", + "source": "https://github.com/SymfonyCasts/reset-password-bundle/tree/v1.23.1" + }, + "time": "2024-12-09T19:04:36+00:00" + }, { "name": "twig/extra-bundle", "version": "v3.17.0", diff --git a/config/bundles.php b/config/bundles.php index 4e3a560..d49ab87 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -13,4 +13,5 @@ return [ Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], + SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true], ]; diff --git a/config/packages/reset_password.yaml b/config/packages/reset_password.yaml new file mode 100644 index 0000000..bd37a3a --- /dev/null +++ b/config/packages/reset_password.yaml @@ -0,0 +1,5 @@ +symfonycasts_reset_password: + # Replace symfonycasts.reset_password.fake_request_repository with the full + # namespace of the password reset request repository after it has been created. + # i.e. App\Repository\ResetPasswordRequestRepository + request_password_repository: symfonycasts.reset_password.fake_request_repository diff --git a/symfony.lock b/symfony.lock index 5b0f409..88d8a11 100644 --- a/symfony.lock +++ b/symfony.lock @@ -296,6 +296,18 @@ "./config/routes/web_profiler.yaml" ] }, + "symfonycasts/reset-password-bundle": { + "version": "1.23", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "main", + "version": "1.0", + "ref": "97c1627c0384534997ae1047b93be517ca16de43" + }, + "files": [ + "./config/packages/reset_password.yaml" + ] + }, "twig/extra-bundle": { "version": "v3.17.0" }