[SOLVED]Captive portal in 1 step with QR Code
I'm trying to use QR Code to login in CP using vouchers without any user input in cell phone , what come to my mind is: the user scan the QR and the QR has some php url with the voucher and it auto submit the form, that way I can still use the "normal" portal to logins when the user got a notebook.
I'm new to php and could not get the url thing working =/
Any ideias ?
Can you see in browser debugger request that is when user enter vouchers data and try simulate it in GET request.
like : http://portal/login?vouchers=34244543543
If it is work then can generate QR code with this url.
If no, then need rewrite php code that can work with POST and GET request of vouchers information.
@lexxai I tried it with:
So I do need to rewrite the code but any ideas how can I auto send the form to pfsense to authenticate the voucher?
@lexxai Yes, I've found this site
It gives you (on the botton of the page) a new index.php that is patched for the QR code.
got it working just fine Thx