SREd-URV / moodle-auth_ip

Manual authentication plugin that prevents access to your Moodle from different IPs than those allowed.
GNU General Public License v3.0
1 stars 6 forks source link

Add an option to only prevent auth if ip fails whitelist #5

Open brendanheywood opened 8 years ago

brendanheywood commented 8 years ago

ie the use case if that we don't want to actually authenticate via this plugin, but via some other existing plugin like ldap or saml which don't have an internal password. So we'd configure this plugin to be earlier in the plugin priority list, and then have a new config checkbox something like 'Don't authenticate, just prevent login unless in ip whitelist'

jpahullo commented 8 years ago

Thanks for the feedback!

Nice option to be added and I personally like it.

However, we are in hard work nowadays. If you need that in the short time, please, consider making a PR. Otherwise, we will evaluate this in the middle term.

Thanks a lot!

Jordi

brendanheywood commented 8 years ago

Awesome! Yes we will try and get a PR together, it's a little bit down our list too. We originally tried to get this into core but it was knocked back:

https://tracker.moodle.org/browse/MDL-53563