[web2py] Re: auth.settings.registration_requires_approval has no effect

2017-06-21 Thread Learning Everything
jklkl On Wednesday, August 19, 2015 at 6:52:32 PM UTC+5:30, Karl-Thomas Schmidt wrote: > > Hi@ all, > > Having this lines in db.py > auth = Auth(db) > auth.settings.registration_requires_approval = True > auth.settings.login_after_registration = False > a new registration immediatly logs in

Re: [web2py] Re: auth.settings.registration_requires_approval has no effect

2016-12-09 Thread Teemu R
I fought today with this specific issue (whatever I did, I was not able to get registrations to having a pending state, but all new registrations ended up being logged in immediately.) The culprit in my case turned out to be an innocent looking row that somehow had been inserted at the beginnin

[web2py] Re: auth.settings.registration_requires_approval has no effect

2015-08-20 Thread Massimo Di Pierro
auth.settings.registration_requires_approval = True is not the same as auth.settings.registration_requires_verification = False When you require verification it means if you have email setup the user will get an email with a public link to verify registration. When you require approval, t

Re: [web2py] Re: auth.settings.registration_requires_approval has no effect

2015-08-20 Thread 'Karl Thomas Schmidt' via web2py-users
Thanks, Jaime Sempere, i tried this in all kinds of variations. Still no pending registrations. And still immediately logged in after registering. Some strange things besides: Having done an update of web2py to new 2.12,3 it still shows 2.11.2-stable+timestamp.2015.05.30.16.33.24 and recommends

[web2py] Re: auth.settings.registration_requires_approval has no effect

2015-08-19 Thread Jaime Sempere
Im using same web2py version and python 2.7.x My db.py works (user is inserted on db marked as 'pending') with this configuration: from gluon.tools import Auth, Service, PluginManager auth = Auth(db) service = Service() plugins = PluginManager() ## create all tables needed by auth if not cus