问题
I'm using symfony 1.2 with sfguard 1.4.1. What's the best practice for registering a new user on the system?
回答1:
It's:
symfony guard:create-user <username> <password>
回答2:
You can use sfDoctrineApply. This plugin generates the necessary templates for creating and validating users in the frontend. It can also send emails to users to validated accounts. It's necessary to install ZendMail.
来源:https://stackoverflow.com/questions/906688/how-to-add-users-to-sfguard