Clean up tokens

This commit is contained in:
Bryan Ashby 2019-06-13 20:51:35 -06:00
parent 94747cfe7e
commit 4ebbedf4bc
No known key found for this signature in database
GPG key ID: B49EB437951D2542
2 changed files with 19 additions and 4 deletions

View file

@ -1026,6 +1026,15 @@ function getDefaultConfig() {
args : [ '24 hours' ] // items older than this will be removed
},
twoFactorRegisterTokenMaintenance : {
schedule : 'every 24 hours',
action : '@method:core/user_temp_token.js:temporaryTokenMaintenanceTask',
args : [
'auth_factor2_otp_register',
'24 hours', // expire time
]
},
//
// Enable the following entry in your config.hjson to periodically create/update
// DESCRIPT.ION files for your file base