Community discussions

 
jandafields
Forum Guru
Forum Guru
Topic Author
Posts: 1514
Joined: Mon Sep 19, 2005 6:12 pm

custom hotspot GET variables ?

Tue Jul 16, 2019 2:18 am

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?

Who is online

Users browsing this forum: No registered users and 43 guests