Community discussions

MikroTik App
 
User avatar
Halfeez92
Member Candidate
Member Candidate
Topic Author
Posts: 101
Joined: Tue Oct 30, 2012 12:58 pm
Location: 127.0.0.1
Contact:

Re: hotspot policy page without authentication

Wed Nov 21, 2012 2:50 pm

u can put the TOS on login.html then after clicking agree it redirect to somefile.html.

I haven't found setting to change the default landing page in routerOS. It would be easy if they add this function.
 
User avatar
nickshore
Long time Member
Long time Member
Posts: 521
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.
Contact:

Re: hotspot policy page without authentication

Wed Nov 21, 2012 3:27 pm

If you take the existing hotspot login page, you can change the username and password fields on the form to hidden and set a default value in them. Then when the button is pressed those values will be submitted, just as if the user had typed them in.

You can also change the label on the submit button.


Hope that helps

Nick.
 
IlCarletto
newbie
Posts: 33
Joined: Mon May 10, 2010 3:09 pm
Location: Milan
Contact:

Re: hotspot policy page without authentication

Fri Dec 14, 2012 9:48 pm

Hi, I need something simlar but i don't understand really how to do it

i read this thread
http://forum.mikrotik.com/viewtopic.php?f=10&t=51199

but i think that in routeros 5 this part
<meta http-equiv="refresh" content="10; url=login?username=myUsername&password=myPassword">
has something wrong (possible? a simple html?)

in fact it put only the username field, not the password, so i put the value in the form in html code, and it's ok.
but i'd like only to put a button, with agreements of the rules
 
IlCarletto
newbie
Posts: 33
Joined: Mon May 10, 2010 3:09 pm
Location: Milan
Contact:

Re: hotspot policy page without authentication

Wed Jan 02, 2013 4:46 pm

nobody?
maybe my question is not clear? :(
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: hotspot policy page without authentication

Thu Jan 03, 2013 8:43 am

simple way to accept policy ,, redirect you first page to Policy page , once user click accept button forward that user to login page
if user click not to accept ,ask user to contact helpdesk

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 84 guests