How to add users to sfguard

前提是你 提交于 2019-12-12 10:58:50

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!