Perhaps someone who knows more about the core will chime in.
Failing that, maybe this will put you on the scent ...
In db.py there should be a line something like auth=Auth(db), which
comes after
'from gluon.tools import ... auth ..
So the Auth class is in gluon/tools.py.
Auth contains the logi
When I looked at how the generated sample app handled showing that
there was an error with logging in, it showed the message in a flash
area in the view. To be clear here: the controller is a two-liner:
def user():
return dict(form=auth())
so there is no setup in the controller, as it relates
Is there a div with the id of 'flash' in your view?
On Nov 8, 11:14 am, Matt wrote:
> Greetings,
> We are currently experiencing an issue with invalid logins not showing
> errors. For auth we are using a combination of basic auth and PAM, and
> the actual controller/view combo for the login form
Not sure if I understand your issue. Have you set up the session.flash
in your controller and the value of it is not showing off ? Are you
doing a redirect when the login failed ?
Maybe if you show us a sample of your code we may have a better
understanding of your issue.
Cheers,
On Nov 8, 11:1
4 matches
Mail list logo