Thanks, but I can still insert multiple users with the same login
(email/password combination), which should not be allowed.

I need to have the same validations that are executed when the user
tries to register via web requests.

Is there anything automatic I can use or should I check manually?.

Furthermore is there a way I can programatically execute a crud.create
with data I provide (as if it came from a web request)?.

Thanks again,

   Carlos


On Nov 16, 6:07 am, mdipierro <[email protected]> wrote:
> db.auth_user.insert(....password=db.auth_user.password.validate(password),. 
> ..)
>
> On Nov 16, 3:34 am, villas <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm sure that you can insert a user easily enough.  I think you'll
> > need the CRYPT validator to encrypt the password.
>
> > -D

Reply via email to