Every new app comes with Auth already defined, so you would have to
either comment it out or delete completely. its extremely easy to put
in.

On Mar 19, 4:50 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:
> 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