I want to record the number of failed login attempts in db.auth_user. I've added an extra field:
auth.settings.extra_fields['auth_user'] = [ Field('failed_login_attempts','integer', default=0), My thought was to capture increment this number in login_onfail. However, how can I find out which user failed the login from this function handler? As far as I can see it doesn't take the login form as an argument like onaccept. Or if that is not possible where in the chain of events can I increment this count on a failed login? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.