Ok, so, for the record, I'm an idiot. :-)
My app was generated with the admin wizard.
Apparently when I was just starting to get my web2py feet wet, I went
in and tinkered very early on and marked the password field as
writable=False ...
removing that allows for a password and repeat/verify password field to show up.
Sorry for the hassle.
   --Doug

P.S. I've created an issue in the tracker requesting that perhaps the
wizard use the extra_fields mechanism instead of creating the
auth_user table from whole cloth. Would just make it easier to prevent
this kind of self-foot-shooting, but more importantly it means not
having to keep the code in synch between the gluon code and the admin
application. Not a big deal though.


On Wed, Jun 6, 2012 at 11:28 AM, Doug Philips <douglas.phil...@gmail.com> wrote:
> Hello all, again,
>
> (I'm guessing the answer to this is in 'the book' , but that's down
> right now and when I went looking last night I couldn't seem to figure
> out where.)
>
> For the app I'm deploying which does require users to authenticate
> (login), I want to use the verification facility.
> I have the following settings in db.py. (I just double checked and I
> don't have any other code which seems to override or reset these
> values)
>
> auth.settings.registration_requires_verification = True
> auth.settings.registration_requires_approval = False
> auth.settings.reset_password_requires_verification = True
>
>
> Everything works great, the email configuration is fine, that all works.
> But there is nowhere on the registration form to set an initial password.
> Beta testers are complaining that after following the link in the
> email to verify their registration, they than have to go through the
> hassle of the "Lost Password" process.
>
> I'm a bit chagrined as I was so busy getting the rest of the app ready
> that I didn't even notice this.
> Do I have my app misconfigured? I'd really like to be able to have
> folks pick a password when they register, which is what the beta
> testers want, and (to my inexperienced web2py eyes) that seems a
> reasonable request.
>
> Thanks,
>    --Doug

Reply via email to