mirror of
https://github.com/SREd-URV/moodle-auth_ip.git
synced 2026-05-17 05:48:42 +02:00
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
5.0 KiB
Executable File
5.0 KiB
Executable File