I would like to (perhaps myself) modify this to enable a checkbox:
[] – Enable request whitelisting on login page (checkbox)
When checked, instead of remove login form we now just remove the password and only have login, and if make request is clicked (submit button changed to “request whitelisting”), the admin can get an email with the users IP address if the username is indeed an admin on the site. Otherwise no email. Maybe the link would bring up a pre-filled add to whitelist field.
This would speedup the process of whitelistilng a new IP perhaps? Maybe would need a get parameter to add a single entry to the list.