How about including this function in Auth?
--
Vinicius Assef.
On Mon, Nov 21, 2011 at 10:43 AM, VIREN PATEL wrote:
> Hi Bruno,
>
> Thanks a lot that was really helpful and solved mine and Shiv problem
>
> Thanks,
> Viren
>
> On Mon, Nov 21, 2011 at 5:35 PM, Bruno Rocha wrote:
>>
>> Create this
Hi Bruno,
Thanks a lot that was really helpful and solved mine and Shiv problem
Thanks,
Viren
On Mon, Nov 21, 2011 at 5:35 PM, Bruno Rocha wrote:
> *Create this function in some model*
> *
> *
>
>> *def new_user(first_name, last_name, email, passw):
>> **users = db(db.auth_user.email==
*Create this function in some model*
*
*
> *def new_user(first_name, last_name, email, passw):
> **users = db(db.auth_user.email==email).select()
> **if users:
> **return users[0].id
> **else:
> **my_crypt = CRYPT(key=auth.settings.hmac_key)
> **
Hi,
I want to import the user details from XL file and register in the
user_auth table.
If you can share info on how to register the users programmatic way, it
will be of great help.
Thanks & Regards
Shiv
4 matches
Mail list logo