diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-07-27 10:52:05 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2022-08-25 11:31:21 +0200 |
commit | 3ce1996d5eeac5c2344229bd384b3de802ba7cff (patch) | |
tree | da57592004be3112653c87e57353d6db7f2e16d5 /lib/private/Setup.php | |
parent | 9b5569ff74bbc099af7c2010471bae8958aa9dd4 (diff) | |
download | nextcloud-server-3ce1996d5eeac5c2344229bd384b3de802ba7cff.tar.gz nextcloud-server-3ce1996d5eeac5c2344229bd384b3de802ba7cff.zip |
Add back TokenCleanupJob to invalidate old temporary tokens
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r-- | lib/private/Setup.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 177ede1e292..edbb9b33275 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -53,6 +53,7 @@ use Exception; use InvalidArgumentException; use OC\App\AppStore\Bundles\BundleFetcher; use OC\Authentication\Token\PublicKeyTokenProvider; +use OC\Authentication\Token\TokenCleanupJob; use OC\Log\Rotate; use OC\Preview\BackgroundCleanupJob; use OCP\AppFramework\Utility\ITimeFactory; @@ -450,6 +451,7 @@ class Setup { public static function installBackgroundJobs() { $jobList = \OC::$server->getJobList(); + $jobList->add(TokenCleanupJob::class); $jobList->add(Rotate::class); $jobList->add(BackgroundCleanupJob::class); } |