Symfony tutorial: Registration and Login system with email verification and password reset

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 17

  • @borisloncaric434
    @borisloncaric434 Рік тому +1

    Very nice tutorial! Thank you. Please make more Symfony tutorials

  • @zenobikraweznick
    @zenobikraweznick Рік тому +3

    Just appreciate the fact that he's coding while flying a freaking plane.

  • @Pierre-Yoyo
    @Pierre-Yoyo 2 місяці тому

    Great tutorial! Thank you. Works perfectly in Symfony 6.
    But I'm new to Symfony and would like to start directly in 7, to avoid having to migrate too quickly. But I can't get it to work in Symfony 7. make:auth is deprecated and no longer works in 7 and when I replace it with make:security:form-login it doesn't work either. I've also been unable to upgrade the application to Symfony 7. Is it possible to get a version 7 of this tutorial or some advice on how to update it?

  • @Autos-kc6qe
    @Autos-kc6qe Рік тому +1

    Good Job

  • @code-for-me
    @code-for-me  Рік тому

    If the email sending isn't functioning as expected, it could be due to the presence of Symfony Messenger, which can create an email queue to prevent the response from waiting until the email is sent. You have two options to resolve this issue:
    Remove or comment out the following line in your config/packages/messenger.yaml file:
    Symfony\Component\Mailer\Messenger\SendEmailMessage: async
    Alternatively, open terminal and start the Messenger worker by running the following command:
    symfony console messenger:consume async -vv

  • @Sa1991mo
    @Sa1991mo 3 місяці тому

    I always get an error on registration: Warning: Trying to access array offset on value of type null

  • @hyperannatv3387
    @hyperannatv3387 Рік тому

    sir can u create a tutorial on how to install symfony? and create simple app?

  • @nidhalcherif8402
    @nidhalcherif8402 Рік тому

    I have installed via composer the module "symfony/mailer" and also symfonycasts/verify-email-bundle, but this is not working and i can see any email on my inboxes on mailtrap. can you help me please?
    knowing that I have correctly configured the DSN mailer of *.env as indicated

    • @code-for-me
      @code-for-me  Рік тому

      It can be that the email is stuck on the messanger queue system. if you have config/packages/messenger.yaml try commenting the:
      Symfony\Component\Mailer\Messenger\SendEmailMessage: async

    • @pacmaybz
      @pacmaybz Рік тому +1

      same problem here. Did you solve it?

    • @SercankaanKöse
      @SercankaanKöse Рік тому

      @@pacmaybz Although my file is Symfony\Component\Mailer\Messenger\SendEmailMessage: async, it doesn't work, instead I run php bin/console messenger:consume async.

    • @code-for-me
      @code-for-me  Рік тому

      did you try the above "commenting the:
      Symfony\Component\Mailer\Messenger\SendEmailMessage: async" ?

    • @lolikaaa
      @lolikaaa 11 місяців тому

      @@code-for-me
      Edit: problem solved - you need to change one line in reset_password.yaml - there is instruction on that file :)
      I have the same problem and I tried comment this line in my messanger.yaml but still not sending any emails :( Another thing - I dont have any data in my reset_password_request table. But it sends the email after registration but not when we want to reset the password.

  • @futuresuperinfinity3526
    @futuresuperinfinity3526 Рік тому

    i want a symphony tutor personal tutor who can teach me only