how to use The local language tips,when the login’s error?(user manager)
radius-reply
Radius server returned some custom error message
radius-reply = $(error-orig)
HOW TO CHANGE?
You have errors.txt in hotspot directory … change it wherever you like ![]()
Dear Box,error.txt is for Hotspot errors
For changing UM errors,you must change login page
using javascript code
copy this insteed error in loging page in $(error)
$(if error)
$(error)$(endif)
thank you very much!
how to replace the errors’ massage?
I want to use
document.getElementById(“loginerror”).innerHTML.replace(“invalid password”,“xxxxxxxx”);
BUT lose!
1-open login.html with an editor like notepad
2-search $(error)
3-replace with java script code in last post.
it’s completly easy.
in last post???
I can’t
thank you!
I succeed!
Thanks!
Extract of edited login.html page:
====================================================
Powered by MikroTik RouterOS
$(if error)
$(endif)
====================================================
Thanks to all, I needed this information, it was very useful. However, the old message was displayed in red, how to put it in red on the login page