forget about it, it needs to be a lambda because of:

return call_or_redirect(
                                self.settings.on_failed_authentication,
                                self.settings.login_url+\
                                    '?_next='+urllib.quote(next))

it says that should be redirected to *self.settings.login_url*

Reply via email to