eldiablo62
eldiablo62

Reputation: 317

Symfony FOSUserBundle link to reset password

How would I do this?

Upvotes: 0

Views: 3566

Answers (1)

Mick
Mick

Reputation: 31919

Ok, you seem new to Symfony, welcome - we have all been there.

1. Figuring out the route to reset a password.

Symfony has a very helpful command line for you to debug routes from the command line.

php app/console router:debug | grep fos_user

This shows you the route for users to reset their password is the following:

  fos_user_resetting_request   GET   ANY  ANY   /resetting/request

2. Sending an email.

That's super easy with Symfony, use Swift Mailer. How to send an email?

Upvotes: 3

Related Questions