Edit $PORTAL_MESSAGE$ value
where can I edit the $PORTAL_MESSAGE$ value cos some login error messages are wrong like the picture below.
Would like to edit it to "Your maximum usage have beend reached" and would like to see other messages also
using grep I find some location but i dont think its safe to edit since its .so files and .a files in /usr/pbi/freeradius-i386/lib/freeradius-2.2.0. Was hoping those are Constant variables that can be change easily, maybe in our own language perhaps.
something like this in those files.
value=%dYour maximum %s usage time has been reached
not sure but maybe you can update reply messages with unlang. have a look at this :
thanks for the advice i think its only Max-Forever-Time is the one using "never" for the %s parameter other limit has good reply like Max-Daily-Time is "daily" for the %s counter parameter. Though have not tested bandwidth limit yet. I will test it sometime.