[web2py] Re: create users manually

2018-05-18 Thread Anthony
On Friday, May 18, 2018 at 10:48:35 AM UTC-4, Joe Willrich Lutalo wrote: > > Thanks, but in the typical application structure, where would you place > these function invocations? > It is up to you, depending on your desired workflow. auth.bulk_register() produces a form, so the idea would be to

[web2py] Re: create users manually

2018-05-18 Thread Joe Willrich Lutalo
Thanks, but in the typical application structure, where would you place these function invocations? In my case, am working on an existing application instance, and want to easily add a new user into the db, if possible, merely overriding the password of an existing account with a new one. Just

[web2py] Re: create users manually

2018-04-25 Thread Anthony
There is also auth.bulk_register(), which produces a form that allows you to register a set of email addresses and automatically sends out email notifications to the registrants (it does not set temporary passwords, so requires users to create passwords before gaining access). For it to work,

[web2py] Re: create users manually

2018-04-24 Thread Anthony
You can use the auth.register_bare() method to loop through a set of user records, register each, and then send an email with the temporary password. I think you can also leave out the password altogether, in which case, users will have to go through the password reset process to create a