Files
moodle-auth_ip/auth.php
CaxtonTaylor a56f9eb234 Modify auth.php IP eval
Currently the plugin only gets the users IP form REMOTE_ADDR wich is not an entirely reliable source. a much better source would be the getremoteaddr() function since this is the one moodle uses in the reports. This also prevents issues wen moodle is implemented behind a load balancer. I tested the change in my server and it works like  a charm
2017-02-07 17:23:46 -05:00

5.0 KiB
Executable File