Hello,
I am new to perl as well as to koha and I want to modify Koha's code for authentication such that if a user with user name let say admin is logged in and meanwhile someone else wants to login with the same user name that is admin but with different ip address then the koha should restrict this activity.
If user logged in has the following details - 
username-admin
ip-192.168.1.129
and if another user try to login with the following -
username-admin
ip-192.168.1.130
Then that user should not be able to logged in.
 
I have been reading the Auth.pm file, it has code regarding authentication and I am unable to find that where the user is allowed to login after successful authentication as I want to put my code at that place.