Hi
When adding a captive portal user, after adding username, password, and full name, there is an empty box in which to place the expiry date of the account.
I would like to have this box pre-filled with an expiry value of, say, +1 hour, or +1 day. This value could be overwritten by the operator but having a default value would ensure that unlimited accounts would not be entered by accident or by overlooking the need to put something in this box.
I have looked in the file services_captiveportal_users_edit.php but, as I am not a very good programmer, I cannot see where or how I can put in such a default value so that it appears in the expiry date box.
Can anyone suggest how I go about changing the code?
|