Version 0.6.1 - Ajout du clear token
All checks were successful
Neutral/pipeline/head This commit looks good

This commit is contained in:
2024-01-08 11:26:56 +01:00
parent 43d65d093b
commit 1b49de6286
4 changed files with 29 additions and 1 deletions

View File

@ -187,6 +187,11 @@ module.exports.serverIO = function(server) {
PostRequest("US_EDIT", async (settings) => {
PostAnswer("US_EDIT", await users.editUser(settings))
})
PostRequest("US_CLEAR_TOKENS", async (settings) => {
PostAnswer("US_CLEAR_TOKENS", await users.clearTokens(settings))
})
}
if(user.checkPermission("SETTINGS")) {