This commit is contained in:
Andris Reinman 2017-12-28 10:28:50 +02:00
parent 2b6234a474
commit 8f62f620d3
2 changed files with 3 additions and 3 deletions

View file

@ -195,9 +195,9 @@ class UserHandler {
let checkAddress = next => { let checkAddress = next => {
if (ObjectID.isValid(username)) { if (ObjectID.isValid(username)) {
return { return next(null, {
_id: username _id: username
}; });
} }
if (username.indexOf('@') < 0) { if (username.indexOf('@') < 0) {

View file

@ -1,6 +1,6 @@
{ {
"name": "wildduck", "name": "wildduck",
"version": "1.0.102", "version": "1.0.103",
"description": "IMAP server built with Node.js and MongoDB", "description": "IMAP server built with Node.js and MongoDB",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {