How to add users to sfguard
Asked Answered
D

2

5

I'm using symfony 1.2 with sfguard 1.4.1. What's the best practice for registering a new user on the system?

Dagall answered 25/5, 2009 at 13:10 Comment(0)
D
8

It's:

symfony guard:create-user <username> <password>
Dagall answered 25/5, 2009 at 13:54 Comment(1)
I know this is an old issue, but for those of you like me picking up work on old system with this, the command for me was symfony guard:create-user email name password you can also add --is-super-admin to grant that user super admin permissions.Pisci
N
1

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.

Nuts answered 26/5, 2011 at 6:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.