Community discussions

MikroTik App
 
User avatar
nick3dos
Member Candidate
Member Candidate
Topic Author
Posts: 189
Joined: Fri Apr 29, 2011 11:03 pm
Location: Greece

Login to Hotspot without typing username and password

Thu Feb 21, 2013 10:49 am

Hello,

In my login page i want to have only a button for logging users in, without editboxes for username and password, i don't want them to type anything.
I have add a user in hotspot -> users with username=user and password=pass with Shared_users="500".
I want the button to make the login with username="user" and password="pass", so all the users will just click this button and they will be logged in with this user account.

Any ideas what code i have to write in the button?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Login to Hotspot without typing username and password

Thu Feb 21, 2013 2:51 pm

Change the user and password inputs to type=hidden and add value=user and value=password to each.
 
User avatar
nick3dos
Member Candidate
Member Candidate
Topic Author
Posts: 189
Joined: Fri Apr 29, 2011 11:03 pm
Location: Greece

Re: Login to Hotspot without typing username and password

Fri Feb 22, 2013 1:46 pm

Thanks a lot.

It worked.
 
User avatar
qatar2022
Member Candidate
Member Candidate
Posts: 166
Joined: Mon Aug 24, 2020 11:12 am

Re: Login to Hotspot without typing username and password

Sat Mar 30, 2024 9:29 am

Change the user and password inputs to type=hidden and add value=user and value=password to each.
can someone help me how to do that?
thanks

Who is online

Users browsing this forum: Google [Bot], patrikg, Seekport [Bot] and 49 guests