I'm wondering if one of the team leaders can add these to the beta for testing.
On Fri, 16 Sep 2005 18:15:59 +0200, Carsten Holbach wrote:
> Carsten Holbach wrote:
>> Hello everybody
>> I am looking for an option to use the m0n0wall in a lanparty
>> environment, where I want to restrict the internet access to the
>> visitors with the captive portal, but based on the time of the day
>> rather than just by the date. I want to say: "Okay you may access
>> internet with thisandthat username/password until 8.00pm". Is this
>> possible, if not: Is there a known modification or something to do
>> this? If not, too, maybe that's a nice feature to have?
> So I did the work myself and changed the code to support the time
> expiring accounts in the local user manager of the captive portal. I
> have tested it and it works.
> I have found two places in the code where expired accounts are
> services_captiveportal_users.php and
> services_captiveportal_users_edit.php. If somebody knows additional
> places, please let me know!
> Feel free to test it yourself or to put it into the images. I have
> marked all lines I changed with "// Change to times-based access:"
> The files that have been changed are the following:
> The files are attached to this mail. You can upload the files with
> /exec.php, then copy them to the directories they have to be placed
> Feedback appreciated.