Hotspot username and password as a link

Hi All,

I am using mikrotik hotspot solution for a long time now. In my hotspot system, I send the pre-generated username and password to users mobile as SMS. User then put the username and password in login screen as usual.

But I get a lot of complaint like users having trouble to insert the username and password from SMS. As they have to move between SMS and login page to read the username and password.
So is there a way to use the username, password and login page address as a link which user can directly click on their sms and it will log in the user?

You should be able to customize html for login page, so in theory you could write some javascript code that would take username and password from url parameters, put them in form and submit it.

(I only worked with hotspot once or twice, so I’m no expert; maybe there’s better solution)

myhotspot.url/login?user=test&password=1234

This will user test with password 1234.