Skip to content

Commit

Permalink
Updated install to add usergroup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpox committed Oct 2, 2018
1 parent f34fba2 commit 75c9070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ query.exec(async (find_err, find_results) => {
username: prompt.username,
password: await Bcrypt.hash(prompt.password, parseInt(process.env.HASH_SALT_ROUNDS, 10)),
email: prompt.email,
group: 1,
}).save();

// Add first page.
Expand Down
2 changes: 1 addition & 1 deletion update.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Schema = {
};

console.log('\x1b[47m\x1b[35m', 'ribbon Update', '\x1b[0m');
console.log('\x1b[47m\x1b[35m', 'Note that this upgrade script will only work on ribbon 2018.9.17', '\x1b[0m');
console.log('\x1b[47m\x1b[35m', 'Note that this upgrade script will only work on an existing ribbon 2018.9.17 installation.', '\x1b[0m');

/*
* Script for future use.
Expand Down

0 comments on commit 75c9070

Please sign in to comment.