coolcsn / CsnUser

Authentication module using Doctrine
MIT License
33 stars 36 forks source link

When using the email verification process user is inserted first #10

Open jccompagnon opened 10 years ago

jccompagnon commented 10 years ago

When using the email verification the user is Inserted in the database then the email is sent. If the email sent errors out the user is created in the database and needs to be manualy deleted. The user should not be inserted in the DB till the email is successfully sent

coolcsn commented 10 years ago

Yes, you are right. We have to switch the order of the operations. You can send me a PR (Pull Request) and I will merge it, if you like. Or I will add it as an issue and it will be fixed.