What's the best way to extend the functionality of the authentication
process during login so that, along with it's normal functionality, is
also runs additional code (in this case I want to check that the user
is logging in from an IP address on a whitelist).

I understand I can override the default Hobo authentication code with
"def self.authenticate(login, password)"? Is it then possible to call
the original authentication and then run my new code if the
authentication passes, or would I have to essentially duplicate the
code of the original function and customise it?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to