From 36b79cb922d50f4014655554246606cba5d97a83 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 12 Feb 2018 12:57:34 +0200 Subject: [PATCH] v1.0.115 --- lib/user-handler.js | 4 ++-- package.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/user-handler.js b/lib/user-handler.js index ace2aef3..e616fe8f 100644 --- a/lib/user-handler.js +++ b/lib/user-handler.js @@ -1277,7 +1277,7 @@ class UserHandler { let otpauth_url = speakeasy.otpauthURL({ secret: base32.decode(secret), - label: userData.username || data.label, + label: data.label || userData.username, issuer: data.issuer || 'WildDuck' }); @@ -1337,7 +1337,7 @@ class UserHandler { let otpauth_url = speakeasy.otpauthURL({ secret: secret.ascii, - label: userData.username || data.label, + label: data.label || userData.username, issuer: data.issuer || 'WildDuck' }); diff --git a/package.json b/package.json index 9d52c2db..be22fe40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wildduck", - "version": "1.0.114", + "version": "1.0.115", "description": "IMAP/POP3 server built with Node.js and MongoDB", "main": "server.js", "scripts": { @@ -16,14 +16,14 @@ "browserbox": "^0.9.1", "chai": "^4.1.2", "eslint-config-nodemailer": "^1.2.0", - "grunt": "^1.0.1", + "grunt": "^1.0.2", "grunt-cli": "^1.2.0", "grunt-eslint": "^20.1.0", "grunt-mocha-test": "^0.13.3", "grunt-shell-spawn": "^0.3.10", "grunt-wait": "^0.1.0", "icedfrisby": "^1.5.0", - "mailparser": "^2.1.0", + "mailparser": "^2.2.0", "markdown-toc": "^1.2.0", "mocha": "^5.0.0", "request": "^2.83.0" @@ -52,7 +52,7 @@ "mongo-cursor-pagination-node6": "5.0.0", "mongodb": "3.0.2", "mongodb-extended-json": "1.10.0", - "node-forge": "^0.7.1", + "node-forge": "0.7.1", "nodemailer": "4.4.2", "npmlog": "4.1.2", "openpgp": "2.6.2",