This commit is contained in:
Andris Reinman 2018-02-12 12:57:34 +02:00
parent 92b408ea16
commit 36b79cb922
2 changed files with 6 additions and 6 deletions

View file

@ -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'
});

View file

@ -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",