sure !!
you'll have to make a small modification in controller default/user

def user():
    form = auth()
    if request.args(0) == 'register':
        session.flash = 'Registration disabled'
        redirect(URL(r=request, c='default', f='index'))
    return dict(form=form)

On Jun 2, 7:03 pm, Jason Brower <[email protected]> wrote:
> Actually... Could you just do a redirect if they are not logged in?
> Br
> jason
>
>
>
> ----- Original message -----
>
> > Don't forget to disable registration altogether, otherwise a user can
> > use /default/user/register link to add himself and thus may have
> > access to things you don't want him to
>
> > add the line:
> > auth.settings.actions_disabled.append('register')
> > in your model

Reply via email to