logintime replacement

Alan DeKok aland at deployingradius.com
Thu Feb 29 14:35:05 UTC 2024


On Feb 28, 2024, at 1:47 PM, Stephen Medina <stephen at lilmail.xyz> wrote:
> 
> I noticed that the logintime module is not in v4. Is there a recommended
> way of replacing it or should it be moved to an "external" module, e.g.
> rest, python?

  You can just check times directly.  The unlang language now supports dates natively.

if (%time('request') < (date) 'Aug 1 2023 01:02:03 UTC') {
	...
}

  Alan DeKok.



More information about the Freeradius-Users mailing list