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?