mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
Clean up tokens
This commit is contained in:
parent
94747cfe7e
commit
4ebbedf4bc
2 changed files with 19 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue