From: Giuseppe Careri Date: Fri, 16 Mar 2018 15:03:36 +0000 (+0100) Subject: fixed seed for users X-Git-Tag: 2.0.51~1 X-Git-Url: http://repos.xcallymotion.com/?a=commitdiff_plain;h=3fc505995372128fe42d2195b171f86ab12d16a7;p=motion2.git fixed seed for users --- diff --git a/server/config/seedDB/users.js b/server/config/seedDB/users.js index 86f837f..da90818 100644 --- a/server/config/seedDB/users.js +++ b/server/config/seedDB/users.js @@ -20,7 +20,7 @@ var users = [{ password: 'shuttle55', fullname: 'John Doe', internal: 1001, - permissions: '101,102,103,104,105,106,107,108,109,100', + permissions: '101,102,103,104,105,106,107,108,109,100'.split(','), description: 'agent auto generated' }, { id: 3, @@ -30,7 +30,7 @@ var users = [{ password: 'shuttle55', fullname: 'Jane Miller', internal: 1002, - permissions: '101,102,103,104,105,106,107,108,109,100', + permissions: '101,102,103,104,105,106,107,108,109,100'.split(','), description: 'agent auto generated' }]; @@ -46,4 +46,4 @@ exports.create = function() { .catch(function(err) { logger.error('Can\'t create Users'); }); -}; \ No newline at end of file +};