Re: [web2py] Re: get rid of 'verify password' in register?

2015-05-22 Thread Richard Penman
Because the first examples used a different attribute: 
auth.settings.login_verify_password = False


On Saturday, August 25, 2012 at 9:56:33 PM UTC+8, Alec Taylor wrote:
>
> Hmm, that worked this time... not sure what happened last-time. Maybe 
> I had put the code in the wrong section of the file? 
>
> On Sat, Aug 25, 2012 at 11:48 PM, Anthony > 
> wrote: 
> > Are you saying you don't want the verify password field on the register 
> form 
> > (i.e., requiring users to enter the password twice when registering)? If 
> so, 
> > just do this after defining auth: 
> > 
> > auth.settings.register_verify_password = False 
> > 
> > Anthony 
> > 
> > 
> > On Saturday, August 25, 2012 12:02:08 AM UTC-4, Alec Taylor wrote: 
> >> 
> >> Oh right, I had to actually edit the gluon\tools.py file. Thought it 
> was a 
> >> variable I could modify from db.py. 
> >> 
> >> On Saturday, August 25, 2012 1:58:56 PM UTC+10, Alec Taylor wrote: 
> >>> 
> >>> Was this feature taken out? 
> >>> 
> >>> I'd really like to use it :) 
> >>> 
> >>> On Tuesday, August 23, 2011 10:14:36 PM UTC+10, Massimo Di Pierro 
> wrote: 
>  
>  oops. my mistake. 
>  
>  On Aug 22, 11:04 pm, Anthony  wrote: 
>  > Well, you had to wait a whole 20 minutes, but Massimo is on the 
>  > case:
> http://code.google.com/p/web2py/source/detail?r=2c1f4c7f4f8e7e286d561... 
>  > . 
>  > 
>  > Maybe it should be called settings.register_verify_password, since 
>  > it's on 
>  > the registration form, not the login form. 
>  > 
>  > Anthony 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > 
>  > On Monday, August 22, 2011 11:37:10 PM UTC-4, rochacbruno wrote: 
>  > > I am a bit lazy to hack my own register form, 
>  > 
>  > > is there a simple way to remove the need of "Verify Password 
>  from 
>  > > auth/register? 
>  > 
>  > > I want the user only to use [name, email, password, submit], I 
> know 
>  > > how to 
>  > > do that hacking a bit or using custom forms. But, is there an API 
>  > > way? 
>  > 
>  > > ( auth.settings.verify_password = False ???  ) 
>  > 
>  > > -- 
>  > > Bruno Rocha 
>  > > [ About me:http://zerp.ly/rochacbruno] 
>  > > [ Aprenda a programar:http://CursoDePython.com.br] 
>  > > [ O seu aliado nos cuidados com os 
>  > > animais:http://AnimalSystem.com.br] 
>  > > [ Consultoria em desenvolvimento web:http://www.blouweb.com] 
> > 
> > -- 
> > 
> > 
> > 
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: get rid of 'verify password' in register?

2012-08-25 Thread Alec Taylor
Hmm, that worked this time... not sure what happened last-time. Maybe
I had put the code in the wrong section of the file?

On Sat, Aug 25, 2012 at 11:48 PM, Anthony  wrote:
> Are you saying you don't want the verify password field on the register form
> (i.e., requiring users to enter the password twice when registering)? If so,
> just do this after defining auth:
>
> auth.settings.register_verify_password = False
>
> Anthony
>
>
> On Saturday, August 25, 2012 12:02:08 AM UTC-4, Alec Taylor wrote:
>>
>> Oh right, I had to actually edit the gluon\tools.py file. Thought it was a
>> variable I could modify from db.py.
>>
>> On Saturday, August 25, 2012 1:58:56 PM UTC+10, Alec Taylor wrote:
>>>
>>> Was this feature taken out?
>>>
>>> I'd really like to use it :)
>>>
>>> On Tuesday, August 23, 2011 10:14:36 PM UTC+10, Massimo Di Pierro wrote:

 oops. my mistake.

 On Aug 22, 11:04 pm, Anthony  wrote:
 > Well, you had to wait a whole 20 minutes, but Massimo is on the
 > case:http://code.google.com/p/web2py/source/detail?r=2c1f4c7f4f8e7e286d561...
 > .
 >
 > Maybe it should be called settings.register_verify_password, since
 > it's on
 > the registration form, not the login form.
 >
 > Anthony
 >
 >
 >
 >
 >
 >
 >
 > On Monday, August 22, 2011 11:37:10 PM UTC-4, rochacbruno wrote:
 > > I am a bit lazy to hack my own register form,
 >
 > > is there a simple way to remove the need of "Verify Password  from
 > > auth/register?
 >
 > > I want the user only to use [name, email, password, submit], I know
 > > how to
 > > do that hacking a bit or using custom forms. But, is there an API
 > > way?
 >
 > > ( auth.settings.verify_password = False ???  )
 >
 > > --
 > > Bruno Rocha
 > > [ About me:http://zerp.ly/rochacbruno]
 > > [ Aprenda a programar:http://CursoDePython.com.br]
 > > [ O seu aliado nos cuidados com os
 > > animais:http://AnimalSystem.com.br]
 > > [ Consultoria em desenvolvimento web:http://www.blouweb.com]
>
> --
>
>
>

-- 





Re: [web2py] Re: get rid of 'verify password' in register?

2011-08-22 Thread Bruno Rocha
web2py is amazing! I love it!

Thannk you Massimo!

When you come to Brazil, I will buy you a coffee (or a beer) :P



On Tue, Aug 23, 2011 at 1:04 AM, Anthony  wrote:

> Well, you had to wait a whole 20 minutes, but Massimo is on the case:
> http://code.google.com/p/web2py/source/detail?r=2c1f4c7f4f8e7e286d561688a16b08d139d5ea62
> .
>
> Maybe it should be called settings.register_verify_password, since it's on
> the registration form, not the login form.
>
> Anthony
>
> On Monday, August 22, 2011 11:37:10 PM UTC-4, rochacbruno wrote:
>
>> I am a bit lazy to hack my own register form,
>>
>> is there a simple way to remove the need of "Verify Password  from
>> auth/register?
>>
>> I want the user only to use [name, email, password, submit], I know how to
>> do that hacking a bit or using custom forms. But, is there an API way?
>>
>> ( auth.settings.verify_password = False ???  )
>>
>> --
>> Bruno Rocha
>> [ About me: http://zerp.ly/rochacbruno** ]
>> [ Aprenda a programar: http://CursoDePython.com.br ]
>> [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
>> [ Consultoria em desenvolvimento web: http://www.blouweb.com ]
>>
>>


-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]