Captive Portal Mod - added an OTP authentication method
-
I have created a small modification to the captive portal pages so it would be possible to use a OTP as login option for the portal.
Installation Instructions
Upload the tarball to your pfsense installation using scp or something similar. Unpack and then:
cp captiveportal-app.js /usr/local/captiveportal/
cp /usr/local/captiveportal/captiveportal-app.js /usr/local/www/js/totp.js
cp services_captiveportal.php /usr/local/www/
cp captiveportal.inc /etc/inc/The TOTP authentication option should appear on the captive portal configuration page and can now be used.
I hope someone finds this of use and I hope you enjoy it :)