Skip to content

Commit 92f071d

Browse files
committed
Remove reset password and verify email code
1 parent 1bc0555 commit 92f071d

File tree

13 files changed

+1
-315
lines changed

13 files changed

+1
-315
lines changed

composer.json

-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
"symfony/validator": "^v5.2",
3737
"symfony/webpack-encore-bundle": "^1.7",
3838
"symfony/yaml": "^v5.2",
39-
"symfonycasts/reset-password-bundle": "^1.2",
40-
"symfonycasts/verify-email-bundle": "^1.2",
4139
"threelever/curriculum-bundle": "dev-main",
4240
"transloadit/php-sdk": "^2.1",
4341
"twig/extra-bundle": "^2.12|^3.0",

composer.lock

+1-100
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/bundles.php

-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
1414
Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true],
1515
Presta\SitemapBundle\PrestaSitemapBundle::class => ['all' => true],
16-
SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true],
17-
SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true],
1816
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
1917
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
2018
Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['dev' => true, 'test' => true],

config/packages/reset_password.yaml

-2
This file was deleted.

src/Controller/Profile/ChangePasswordController.php

-39
This file was deleted.

src/Entity/ResetPasswordRequest.php

-40
This file was deleted.

src/Form/ChangePasswordAccountFormType.php

-28
This file was deleted.

src/Form/ChangePasswordFormType.php

-32
This file was deleted.

src/Repository/ResetPasswordRequestRepository.php

-36
This file was deleted.

symfony.lock

-15
Original file line numberDiff line numberDiff line change
@@ -635,21 +635,6 @@
635635
"symfony/yaml": {
636636
"version": "v5.1.8"
637637
},
638-
"symfonycasts/reset-password-bundle": {
639-
"version": "1.0",
640-
"recipe": {
641-
"repo": "github.com/symfony/recipes",
642-
"branch": "master",
643-
"version": "1.0",
644-
"ref": "97c1627c0384534997ae1047b93be517ca16de43"
645-
},
646-
"files": [
647-
"config/packages/reset_password.yaml"
648-
]
649-
},
650-
"symfonycasts/verify-email-bundle": {
651-
"version": "v1.0.0"
652-
},
653638
"symplify/easy-coding-standard": {
654639
"version": "10.1.4"
655640
},

templates/profile/change-password.html.twig

-9
This file was deleted.

templates/profile/partial/navegation/navbar.html.twig

-7
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@
6767
</a>
6868
{% endif %}
6969

70-
<a href="{{path('profile_change_password')}}" class="navbar-item">
71-
<span class="icon is-spaced">
72-
<i class="fa fa-key"></i>
73-
</span>
74-
<span>{{'navegation.change_password'|trans}}</span>
75-
</a>
76-
7770
<a href="{{path('app_logout')}}" class="navbar-item">
7871
<span class="icon is-spaced">
7972
<i class="fa fa-sign-out-alt"></i>

tests/Functional/Controller/Profile/SmokeTest.php

-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@
5757
yield ['/profile/en/skill'];
5858
yield ['/profile/pt_BR/skill/new', 'skill[name]'];
5959
yield ['/profile/en/skill/new', 'skill[priority]'];
60-
#change password
61-
yield ['/profile/pt_BR/change-password', 'change_password_account_form[plainPassword][first]'];
62-
yield ['/profile/en/change-password', 'change_password_account_form[plainPassword][second]'];
6360
});
6461

6562
it('is redirecting to login page when the user is not log in', function(string $url) {

0 commit comments

Comments
 (0)