I don't custom the user_table,
 I use version 1.65.3

now ,  I don't use email verification
when I registered, if I change the First name in  appadmin ,  the passwd was
set to blank,
the  apparent reason is the password field display  as blank

2009/7/14 mdipierro <mdipie...@cs.depaul.edu>

>
> I cannot reproduce this.
> Which web2py version?
> Do you have a custom user_table?
> Can you use appadmin and check what is in the password field before
> and after email verification?
> Is anybody else having or not having problems with it?
>
> Massimo
>
> On Jul 13, 10:08 pm, zhang zheng <zzgigi2...@gmail.com> wrote:
> > URL:http://127.0.0.1:8000/auth/appadmin/select/db?query=db.auth_user.id
> >0
> >
> > auth_user.id      auth_user.password
> > 3                              25ed1bcb423b0...
> >
> > but URL:http://127.0.0.1:8000/auth/appadmin/update/db/auth_user/3
> >
> > Id:                        3
> > First Name:        zz
> > Last Name:        zz
> > Email:                 zzgigi2...@gmail.com
> > Password:
> > Registration Key:
> >
> > the password field was blank, why?
> >
> > if I have to reset the password when
> > auth.settings.registration_requires_verification = True?
> >
> > I was puzzled!!
> >
> > 2009/7/13 mdipierro <mdipie...@cs.depaul.edu>
> >
> >
> >
> >
> >
> > > It is not a bug. A blank password field is not a blank password
> > > because the former is a hash of the actual password. A blank password
> > > field means the user cannot login because that is no string that
> > > hashes to blank.
> >
> > > On Jul 13, 7:55 am, 张峥 <zzgigi2...@gmail.com> wrote:
> > > > hi all:
> >
> > > > in app/models/db.py
> >
> > > > ......
> > > > auth.settings.mailer=mail
> > > > auth.settings.registration_requires_verification = True
> > > > auth.settings.registration_requires_approval = True
> > > > .......
> >
> > > > Look into the table auth user, I found the field "password" is blank.
> > > > so, the user's password will be set to blank also when I set
> > > > registration key field to "blank",
> >
> > > > a bug?
> > > > I tried to find reasons,however,I failed
> >
> > --
> > 张峥
> >
>


-- 
张峥

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to