Thank you very much. Dwayne
On 30 mai, 02:18, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > You can disable actions if you use third party authentication. > > On May 29, 6:19 pm, Dwayne Blind <dwaynebl...@gmail.com> wrote: > > > > > Hi, > > > The following lines are usual : > > > <div id="web2py_user_form"> > > {{=form}} > > {{if request.args(0)=='login':}} > > {{if not 'register' in auth.settings.actions_disabled:}} # CONDITION > > N°1 > > <br/><a href="{{=URL(r=request,args='register')}}">register</a> > > {{pass}} > > {{if not 'request_reset_password' in > > auth.settings.actions_disabled:}} # CONDITION N°2 > > <br/><a href="{{=URL(r=request,args='request_reset_password')}}">lost > > password</a> > > {{pass}} > > {{pass}} > > </div> > > > The links "register" and "lost password" appear conditionally on the > > conditions 1 and 2. Can somebody explain these conditions to me ? I > > have the impression that these links always appear :) > > > Thanks a lot, > > Dwayne- Masquer le texte des messages précédents - > > - Afficher le texte des messages précédents -