[web2py] Re: requires_verification = False not working with custom auth table

2018-06-06 Thread b.l. masters
Anthony wrote: > > On Wednesday, June 6, 2018 at 4:48:48 PM UTC-4, b.l. masters wrote: >> >> So by "auth.register() itself handles the form processing, automatic >> login, and redirect": Do you mean, that these functions are applied in the >> pre-processing

[web2py] Re: requires_verification = False not working with custom auth table

2018-06-06 Thread b.l. masters
ferent location. So, that is what I am needing: to get these same settings to also work when I call the auth.register() Thanks -b On Wednesday, June 6, 2018 at 5:01:30 PM UTC-4, Dave S wrote: > > > > On Wednesday, June 6, 2018 at 1:48:48 PM UTC-7, b.l. masters wrote: >> >>

[web2py] Re: requires_verification = False not working with custom auth table

2018-06-06 Thread b.l. masters
So by "auth.register() itself handles the form processing, automatic login, and redirect": Do you mean, that these functions are applied in the pre-processing (as you also mention), so I can't alter them?? Or can the: auth.settings.login_after_registration, auth.settings.registration_requires_

[web2py] Re: 'auth_user' not recognized in IS_IN_DB validator

2018-06-06 Thread b.l. masters
t; I notice in another thread you indicated you have a custom auth_user > table. Presumably you either have not defined the auth_user table at this > point in the code, or you have named it something else. > > Anthony > > On Tuesday, June 5, 2018 at 3:38:40 PM UTC-4, b.l. maste

[web2py] Re: requires_verification = False not working with custom auth table

2018-06-06 Thread b.l. masters
; > The Auth settings should work the same in either case. Please show your > exact code (model, controller, view) and describe the exact workflow (i.e., > exactly what you do and see in the UI) in both cases. > > Also, note that if you just want to change the visibility and/or &g

[web2py] 'auth_user' not recognized in IS_IN_DB validator

2018-06-05 Thread b.l. masters
Hi I am using a validator (that previously worked) in a db model, and which now will not recognize the 'auth_user' table in the IS_IN_DB validator: db.tablenamehere.username.requires = [IS_IN_DB(db, 'auth_user.username', error_message=T('User must already exist to associate with these services

[web2py] requires_verification = False not working with custom auth table

2018-06-05 Thread b.l. masters
Hi I've created a custom auth table to hide unwanted fields, and add validators in the db.py file to better manage the registration process. As part of this, within the db.py, I also include lines to *not* require verification or approval. When I use .../default/user/register this feature wor

Re: [web2py] Re: db won't recreate when create site from scratch

2017-01-04 Thread b.l. masters
, signature=False, migrate=True) Using the combination of these two settings in that order and making sure the databases folder was completely empty seemed to be the fix... On Fri, Dec 23, 2016 at 5:23 PM, Dave S wrote: > > > On Thursday, December 22, 2016 at 3:14:20 PM UTC-8, b.l. mast

Re: [web2py] Re: db won't recreate when create site from scratch

2016-12-22 Thread b.l. masters
=True auth.define_tables(username=True, signature=False, migrate=True) Thanks again for any help. On Thu, Dec 22, 2016 at 5:41 PM, b.l. masters wrote: > Basically I ignore any directories that I don't want to "share" between my > local, my test and my production. I

Re: [web2py] Re: db won't recreate when create site from scratch

2016-12-22 Thread b.l. masters
or your help so far. I've spent a fair amount of time now trying to figure this one out, and its becoming frustrating. On Thu, Dec 22, 2016 at 5:20 PM, Dave S wrote: > > > On Thursday, December 22, 2016 at 2:01:39 PM UTC-8, b.l. masters wrote: >> >> Yeah. I a

[web2py] db won't recreate when create site from scratch

2016-12-22 Thread b.l. masters
Hi I am attempting to recreate my web2py app, from a clean install on an amazon instance with an standard install of web2py plus a git clone of an existing web2py application. My git repo ignores the database directory. Also, I am not using git to control the entire web2py application/I do not

[web2py] need custom auth form to not require unique email

2016-08-01 Thread b.l. masters
Hi I am new to Web2py, so I apologize in advance if this is basic. So, I am wanting to create a custom login, that does not require someone to enter an email. So, following some of the examples I have found out there, I created a custom auth table, with a username, etc. (I paste the code below