Description
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
On periodic intervals a script rc.expireaccounts
is called on our end via cron:
core/src/etc/inc/plugins.inc.d/core.inc
Line 294 in d3c1dd8
But in reality, it doesn't matter if the "disabled" flag is toggled as authentication is responsible for implementing the feature properly anyway:
core/src/opnsense/mvc/app/library/OPNsense/Auth/Local.php
Lines 161 to 162 in d3c1dd8
To Reproduce
Just set a date (yesterday) and witness the account being locked without the cron job having executed yet.
Expected behavior
Not running a cron each day.
Describe alternatives you considered
Leaving it as is.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
If applicable, information from log files supporting your claim.
Additional context
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.7.7 (amd64).