Community discussions

MUM Europe 2020
 
AnupamPradhan
newbie
Topic Author
Posts: 35
Joined: Wed May 04, 2016 2:44 pm

Hotspot username and password as a link

Thu Apr 19, 2018 6:57 pm

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?
 
Sob
Forum Guru
Forum Guru
Posts: 5122
Joined: Mon Apr 20, 2009 9:11 pm

Re: Hotspot username and password as a link

Thu Apr 19, 2018 8:10 pm

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)
People who quote full posts should be spanked with ethernet cable. Some exceptions for multi-topic threads may apply. Not intended as incentive for masochists.
 
2frogs
Long time Member
Long time Member
Posts: 542
Joined: Fri Dec 03, 2010 1:38 am

Re: Hotspot username and password as a link

Fri Apr 20, 2018 3:38 am

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

This will user test with password 1234.

Who is online

Users browsing this forum: No registered users and 132 guests