12 Apr
2018
12 Apr
'18
11:56 a.m.
On 12/04/18 16:45, Alan DeKok wrote:
On Apr 12, 2018, at 11:29 AM, Dom Latter <freeradius-users@latter.org> wrote:
Does the pseudo-code look sensible then? I am very much a noob with regards to unlang.
It looks fine.
Unlang is a simple language. A bit weird, but simple.
<grin> Ah - another quick question. Is there something available similar to '%{request:User-Name} which will give me the current date? (Reason - some wifi accounts have an expiry date so we need to check that. Use of time functions in sql stops the query cache being used, so it's better to have '2018-04-12' in the query than curdate().)