News: This forum is now permanently frozen.
Pages: [1]
Topic: Captive Portal users default timeout  (Read 1550 times)
« on: January 16, 2009, 00:48:52 »
leyshon *
Posts: 10

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?
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines