diff --git a/O-BrandServer/dbconfig.js b/O-BrandServer/dbconfig.js index 3051975..21e4ff7 100644 --- a/O-BrandServer/dbconfig.js +++ b/O-BrandServer/dbconfig.js @@ -13,32 +13,17 @@ var exec = require('child_process').exec; function addUsers() { 'use strict'; dbAccount.addNewAccount({ - username: 'Martin ', password: 'MPReoa43', email: 'martind2000@gmail.com' - }) - .then(function(data) { - console.log(data); + username: 'Default', password: 'password', email: 'm@g.com' + }) + .then(function(data) { + console.log(data); - - dbAccount.addNewAccount({ - username: 'Default', password: 'password', email: 'm@g.com' - }) - .then(function(data) { - console.log(data); - - return 'DONE'; - }) - .catch(function(err) { - console.error(err); - return -1; - }); - - - - }) - .catch(function(err) { - console.error(err); - return -1; - }); + return 'DONE'; + }) + .catch(function(err) { + console.error(err); + return -1; + }); }