aboutsummaryrefslogtreecommitdiffstats
path: root/csci4131/hw7/insert_into_accounts_table.js
diff options
context:
space:
mode:
Diffstat (limited to 'csci4131/hw7/insert_into_accounts_table.js')
-rw-r--r--csci4131/hw7/insert_into_accounts_table.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/csci4131/hw7/insert_into_accounts_table.js b/csci4131/hw7/insert_into_accounts_table.js
index 3157ce3..0be14ce 100644
--- a/csci4131/hw7/insert_into_accounts_table.js
+++ b/csci4131/hw7/insert_into_accounts_table.js
@@ -24,12 +24,12 @@ dbCon.connect(function (err) {
console.log("Connected to database!");
const saltRounds = 10;
- const myPlaintextPassword = 'tango'; // replace with password chosen by you OR retain the same value
+ const myPlaintextPassword = 'admin%'; // replace with password chosen by you OR retain the same value
const passwordHash = bcrypt.hashSync(myPlaintextPassword, saltRounds);
const rowToBeInserted = {
- acc_name: 'charlie', // replace with acc_name chosen by you OR retain the same value
- acc_login: 'charlie', // replace with acc_login chosen by you OR retain the same value
+ acc_name: 'admin$', // replace with acc_name chosen by you OR retain the same value
+ acc_login: 'admin$', // replace with acc_login chosen by you OR retain the same value
acc_password: passwordHash
};