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

Reply via email to