My installation:

Considering your source code, links to files created by the helpdesk expire at the nearest midnight and a minimum validity is not guaranteed (12 hours). This is your source code:

So, if we create a link at 11 PM, after an hour it is already expired.
Is it possible to correct these deadlines to guarantee a minimum of validity?
Thanks