finished user prfile and passwords
This commit is contained in:
.eslintrc.gitignoreTODOsymfony.lock
assets
composer.jsoncomposer.lockconfig
bundles.php
packages
api_platform.yamlfos_ckeditor.yamlframework.yamlmessenger.yamlreset_password.yamlsecurity.yamltwig.yaml
routes
migrations
Version20220409135404.phpVersion20220409150258.phpVersion20220410123550.phpVersion20220410131552.phpVersion20220412144008.phpVersion20220423085724.phpVersion20220425082917.phpVersion20221028172857.phpVersion20221030105205.phpVersion20221030161847.php
src
Controller
BaseController.phpFrontendController.phpPagesController.phpProjectsController.phpResetPasswordController.phpSecurityController.phpUserController.php
Entity
Form
ChangePasswordFormType.phpEditProfileFormType.phpRegistrationFormType.phpResetPasswordRequestFormType.php
Repository
Security
templates
@ -1,8 +0,0 @@
|
||||
api_platform:
|
||||
mapping:
|
||||
paths: ['%kernel.project_dir%/src/Entity']
|
||||
patch_formats:
|
||||
json: ['application/merge-patch+json']
|
||||
swagger:
|
||||
versions: [3]
|
||||
show_webby: false
|
@ -1,5 +0,0 @@
|
||||
# Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html
|
||||
|
||||
twig:
|
||||
form_themes:
|
||||
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
|
@ -1,7 +1,7 @@
|
||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||
framework:
|
||||
secret: '%env(APP_SECRET)%'
|
||||
#csrf_protection: true
|
||||
csrf_protection: true
|
||||
http_method_override: false
|
||||
|
||||
# Enables session support. Note that the session will ONLY be started if you read or write from it.
|
||||
|
@ -16,7 +16,7 @@ framework:
|
||||
# sync: 'sync://'
|
||||
|
||||
routing:
|
||||
Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
||||
#Symfony\Component\Mailer\Messenger\SendEmailMessage: async
|
||||
Symfony\Component\Notifier\Message\ChatMessage: async
|
||||
Symfony\Component\Notifier\Message\SmsMessage: async
|
||||
|
||||
|
4
config/packages/reset_password.yaml
Normal file
4
config/packages/reset_password.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
symfonycasts_reset_password:
|
||||
request_password_repository: App\Repository\ResetPasswordRequestRepository
|
||||
lifetime: 3600
|
||||
throttle_limit: 1
|
@ -22,13 +22,11 @@ security:
|
||||
main:
|
||||
lazy: true
|
||||
provider: app_user_provider
|
||||
# custom_authenticator: App\Security\LoginFormAuthenticator
|
||||
|
||||
json_login:
|
||||
check_path: app_login
|
||||
username_path: username
|
||||
password_path: password
|
||||
custom_authenticator: App\Security\LoginFormAuthenticator
|
||||
|
||||
##form_login:
|
||||
# login_path: app_login
|
||||
# check_path: app_login
|
||||
logout:
|
||||
path: app_logout
|
||||
switch_user: true
|
||||
|
@ -1,7 +1,10 @@
|
||||
twig:
|
||||
default_path: '%kernel.project_dir%/templates'
|
||||
# default_path: '%kernel.project_dir%/templates'
|
||||
paths:
|
||||
'%kernel.project_dir%/templates/themes/default': default
|
||||
'%kernel.project_dir%/templates/admin': admin
|
||||
form_themes:
|
||||
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
|
||||
- bootstrap_5_layout.html.twig
|
||||
|
||||
when@test:
|
||||
twig:
|
||||
|
Reference in New Issue
Block a user