Basically you would need to add this to model

from gluon.tools import Auth
auth=Auth(globals(),db)
auth.define_tables()

and this to controller

def user(): return dict(form=auth())

then decorate the actions as usual

@auth.requires_login()

You may want to customize some settings

auth.settings.blablabla = 'blablabla'


On Mar 18, 4:53 pm, pbreit <pbreitenb...@gmail.com> wrote:
> Dare I say it's not too difficult?

Reply via email to