I'm trying to do a "i forgot my password" functionality. My problem is that if i try to do a Doctrine query and send password to email it retrieves password encrypted. I look at some webs that DoctrineGuard don't have this functionality and only have register and login functionality.
Is it true?
In this case, how i can do a remember password function?
thanks
Password are hashed and then save to the database, thus you can't recover the password once it has been saved.
There are several ways you can create a "password lost" function :