akiva
akiva

Reputation: 2737

How to add users to sfguard

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

Upvotes: 5

Views: 4950

Answers (2)

akiva
akiva

Reputation: 2737

It's:

symfony guard:create-user <username> <password>

Upvotes: 8

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.

Upvotes: 1

Related Questions