[web2py] Re: auth new user registration even after login

2015-11-23 Thread 黄祥
i guess you have set : step 1 : auth.settings.actions_disabled = ['register'] step 2 set the callback : def __after_insert_auth_user(f, id): row = db(db.auth_user.id == id).select().first() mail.send(mail.email, 'Login credential', 'Email : %s, Password : password' % (mail.email) ) db.auth_user.

[web2py] Re: auth new user registration even after login

2015-11-23 Thread Dave S
On Monday, November 23, 2015 at 5:38:45 PM UTC-8, Kalpish Singhal wrote: > > I want my admin user group can only register new members and their > password should be send to respective user mail id using auth_user table, > how to do this when auth is logged in because no signup option is their