I am using 7.0. My goal is to implement a IP address based authentication so that some users can login through the Internet and the others can only login from the Intranet.
Overriding res.users.check_credentials can plug additional authentication logic. So the only thing leave is how to access HttpRequest object,which contains Client IP address, within check_credentials method.
Can someone please shed some light on this? Thanks!