URL:http://127.0.0.1:8000/auth/appadmin/select/db?query=db.auth_user.id>0
auth_user.id <http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.id> auth_user.first_name <http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.first_name> auth_user.last_name <http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.last_name> auth_user.email <http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.email> auth_user.password <http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.password> auth_user.registration_key <http://127.0.0.1:8000/auth/appadmin/select/db?orderby=auth_user.registration_key> 3 <http://127.0.0.1:8000/auth/appadmin/update/db/auth_user/3> zz zz zzgigi2...@gm... 25ed1bcb423b0... but URL:http://127.0.0.1:8000/auth/appadmin/update/db/auth_user/3 Id: 3 First Name: Last Name: Email: Password: Registration Key: auth_membership.user_id <http://127.0.0.1:8000/auth/appadmin/select/db/auth_membership?query=auth_membership.user_id%3D3> auth_event.user_id <http://127.0.0.1:8000/auth/appadmin/select/db/auth_event?query=auth_event.user_id%3D3> the password field was blank, why? if I have to set the password when auth.settings.registration_requires_verification = True? I was puzzled!! mdipierro 写道: > 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 -~----------~----~----~----~------~----~------~--~---