6 Commits

Author SHA1 Message Date
Dani Tome 6d30969f42 Added support to Moodle v3.3+ 2018-05-30 12:57:25 +02:00
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
Robert Boloc 715a8f96b2 Added support for CIDRs 2015-07-23 20:50:06 +01:00
Jordi Pujol-Ahullo 86d14bf068 moodle-auth_ip - simplified code for portability through Moodle versions. Extended availability from Moodle 2.4 to Moodle 2.7. 2014-07-25 22:46:24 +02:00
Robert Boloc f15b1c6ce5 Filter $_SERVER input
Added filter for the $_SERVER input, to improve security.
2014-03-22 10:07:43 +01:00
Jordi Pujol Ahulló (32.1) 87c83e1712 moodle-auth_ip: initial commit. 2013-10-17 19:00:08 +02:00