Hey there, Ah leave that; I've sub-classed auth. Thanks for your help anyway. :)
On Dec 5, 6:42 pm, mdipierro <[email protected]> wrote: > yes with > > def login(): > return dict(form=auth.login()) > > def profile(): > return dict(form=auth.profile()) > > On Dec 5, 5:28 am, Ishbir <[email protected]> wrote: > > > > > > > > > Hey there, > > > I have a little question. Is it possible to expose the auth() methods > > to the user as a controller adding our own custom methods as well? > > > Like, in default.py, we expose it like- > > > def user(): > > return dict(form=auth()) > > > Is it possible to expose it like a controller and add custom methods? > > Like say- > > > def login(): > > return dict(form=auth(controller='login')) > > > I know that auth has the controller function argument but then it > > would break the navbar and all, wouldn't it? Or I would have to sub- > > class Auth and then add my custom auth methods?

