Field('name',type='password') makes use data can only go in but never
out to forms.

On Sep 2, 5:29 pm, Aaron Mahler <amah...@sbc.edu> wrote:
>  I'm definitely using web2py's login functionality for the app itself,
> yes... but this particular password field I'm describing isn't related
> to logging into web2py, sessions, etc. This is an interface to an LDAP
> server where user account entries are being edited. The password field
> is part of that user record and I don't want those fields appearing in
> clear text.
>
>  - Aaron
>
> On Sep 1, 10:32 pm, pbreit <pbreitenb...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Is there a reason you aren't using web2py's login?
>
> > If you want to customize the login page, you can do this in
> > views/default/user.html:
>
> > {{if request.args(0)=='login':}}
> >     <h2>Login</h2>
> >     <div id="user_form">
> >         {{=form.custom.begin}}
> >         <p><label for="email">Email</label><br>
> >         {{=form.custom.widget.email}}</p>
> >         <p><label for="password">Password</label><br>
> >         {{=form.custom.widget.password}}</p>
> >         <p><input class="checkbox" id="auth_user_remember" name="remember"
> > type="checkbox" value="on" checked />&nbsp;&nbsp;<label
> > for="auth_user_remember">Remember me</label></p>
> >         <p><input type="submit" value="login" /></p>
> >         {{=form.custom.end}}
> >     <br/><a href="{{=URL(r=request,args='register')}}">register</a>
> >     <br/><a
> > href="{{=URL(r=request,args='request_reset_password')}}">password help</a>
> >     </div>

Reply via email to