[web2py] Re: manually update password

2015-04-02 Thread Niphlod
with the default widget, a password is holds an "8 asterisks signs" string (). When you receive them, you shouldn't assume password changed. if you're not receiving 8 asterisks back, than that var is holding the password the user has set. On Thursday, April 2, 2015 at 1:52:31 AM UTC+2,

[web2py] Re: manually update password

2015-04-01 Thread José Eloy
Hello Niphlod *Because I've *modified* the presentation of the form (I use check boxes to represent multiselect box) and save another variables that they aren't part of the form.* All I need is to know how to recover the password value and save if this changed. Regards. -- Resources: - h

[web2py] Re: manually update password

2015-03-31 Thread Niphlod
why all this fuss ? let the form handle it instead of your code. On Tuesday, March 31, 2015 at 3:07:57 AM UTC+2, José Eloy wrote: > > Sorry for the delay in answering. > > I have the following code for modify the auth_user table: > > administrador = db2.auth_user(request.args(0)) or >

[web2py] Re: manually update password

2015-03-30 Thread José Eloy
Sorry for the delay in answering. I have the following code for modify the auth_user table: administrador = db2.auth_user(request.args(0)) or redirect(URL('ver_administradores')) form = SQLFORM(db2.auth_user, administrador, submit_button="Aceptar", deletable=True, showid=False) # updat

[web2py] Re: manually update password

2015-02-24 Thread Niphlod
it should work without issues. the 'password' field has a validator attached that takes care of handling everything. On Tuesday, February 24, 2015 at 12:22:32 AM UTC+1, José Eloy wrote: > > Hello! > > I have an auth_user form with extra fields. To update a record I use a > SQLFORM and the update