diff options
| author | Simon Rettberg | 2024-07-02 14:45:45 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2024-07-02 14:45:45 +0200 |
| commit | 1123b987bceef69241a0fedba0f7301f1bb85e72 (patch) | |
| tree | 71c861ff592d16f5f57a552cec29585689d88dcd /modules-available/sysconfig/hooks/cron.inc.php | |
| parent | [translation] Make smarter, find ::translateFile calls etc. (diff) | |
| download | slx-admin-1123b987bceef69241a0fedba0f7301f1bb85e72.tar.gz slx-admin-1123b987bceef69241a0fedba0f7301f1bb85e72.tar.xz slx-admin-1123b987bceef69241a0fedba0f7301f1bb85e72.zip | |
[sysconfig] New module type: ShibAuth
This creates a config module for out lightdm greeter that will enable
login via shibboleth; either browser-based or QR code.
Diffstat (limited to 'modules-available/sysconfig/hooks/cron.inc.php')
| -rw-r--r-- | modules-available/sysconfig/hooks/cron.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/sysconfig/hooks/cron.inc.php b/modules-available/sysconfig/hooks/cron.inc.php index b959060d..cedc0810 100644 --- a/modules-available/sysconfig/hooks/cron.inc.php +++ b/modules-available/sysconfig/hooks/cron.inc.php @@ -4,3 +4,8 @@ Database::exec("DELETE c FROM configtgz_location c LEFT JOIN location l USING (locationid) WHERE l.locationid IS NULL AND c.locationid <> 0"); + +// Refresh every once in a while (should roughly be once a day) +if (mt_rand(0, 300) === 0) { + Shib::refreshIdpSuffixMap(); +}
\ No newline at end of file |
