diff --git a/Jenkinsfile b/Jenkinsfile index 1d753ed..7b5c166 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,6 @@ pipeline { steps { script { - def doesJavaRock = input(message: 'Confirmation de Déploiement', ok: 'Déployer') echo "[Neutral-Deploy] - Deploy Stage" sh "ssh raphix@raphix.fr sudo apt update -y" sh "ssh raphix@raphix.fr sudo apt upgrade -y" diff --git a/neutral-functions.js b/neutral-functions.js index 1e48401..f90e6ed 100644 --- a/neutral-functions.js +++ b/neutral-functions.js @@ -85,7 +85,7 @@ module.exports.deleteToken = (username) => { const userData = JSON.parse(fs.readFileSync(__dirname + path.sep + "users" + path.sep + this.getUUID(username) + ".json", 'utf-8')) - userData.token = {} + userData.tokens = {} fs.writeFileSync(__dirname + path.sep + "users" + path.sep + this.getUUID(username) + ".json", JSON.stringify(userData, null, 2)) diff --git a/public/templates/files.html b/public/templates/files.html index d433aeb..d36603b 100644 --- a/public/templates/files.html +++ b/public/templates/files.html @@ -1,11 +1,13 @@