Page 1 of 1

custom hotspot GET variables ?

Posted: Tue Jul 16, 2019 2:18 am
by jandafields
This logs in a hotspot user:
http:// ip.address/login?username=xx&password=xx

Then, I can access the username in the on-login script with
:log info $user

That's good so far.

However, I would like to be able to log other custom variables, for example:
http:// ip.address/login?username=xx&password=xx&customvariable=xx

Then use :log info $customvariable in the on-login script ... that doesn't work. Is there anything that WILL work? Anyway to get custom data into the routerbox like that?