If you want to make Mikrotik hotspot page with username box only and without password box. Follow the following steps :
- Edit login.hmtl file with notepad.
- Find lines like text below ( or something similar ) :
<input name="username" type="text" value="$(username)"/>
- Add : onblur="password.value=username.value" between name and type.
<input name="username" onblur="password.value=username.value" type="text" value="$(username)"/>
- Find lines like text below ( or something similar ) :
<input name="password" type="password"/>
- Change type="password" to type="hidden" .
<input name="password" type="hidden"/>
- You can also change the OK button with Login or Activate. To do that, find lines like text below ( or something similar ) :
<input type="submit" value="OK" />
- Change OK to Login or Activate.
<input type="submit" value="Login" />
- Finally, don't forget to save it and copy the login.html to Mikrotik Hotspot directory. Remember, username and password for a hotspot user must be the same to make the login page works.
No comments:
Post a Comment