Forgot password
This commit is contained in:
@@ -16,4 +16,5 @@ return [
|
||||
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||
Symfony\Bundle\MercureBundle\MercureBundle::class => ['all' => true],
|
||||
SymfonyCasts\Bundle\VerifyEmail\SymfonyCastsVerifyEmailBundle::class => ['all' => true],
|
||||
SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true],
|
||||
];
|
||||
|
||||
2
config/packages/reset_password.yaml
Normal file
2
config/packages/reset_password.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
symfonycasts_reset_password:
|
||||
request_password_repository: App\Tech\Repository\ResetPasswordRequestRepository
|
||||
@@ -7,7 +7,7 @@ security:
|
||||
app_user_provider:
|
||||
entity:
|
||||
class: App\Tech\Entity\User
|
||||
property: email
|
||||
property: username
|
||||
firewalls:
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
@@ -20,7 +20,7 @@ security:
|
||||
login_path: app_login
|
||||
check_path: app_login
|
||||
enable_csrf: true
|
||||
username_parameter: email
|
||||
username_parameter: username
|
||||
password_parameter: password
|
||||
logout:
|
||||
path: app_logout
|
||||
|
||||
Reference in New Issue
Block a user