Commit dcb60cf9 authored by Fintan Mc Gee's avatar Fintan Mc Gee

changed default passwords

parent 630ff07e
...@@ -121,7 +121,7 @@ function createInitialUser() { ...@@ -121,7 +121,7 @@ function createInitialUser() {
} else if (!user) { } else if (!user) {
var user1 = new User({ var user1 = new User({
username : 'blizaar', username : 'blizaar',
password : 'BLZ_blizaar', password : 'DevBlizaar',
admin : true, admin : true,
dataGroup : "admin" dataGroup : "admin"
}); });
...@@ -758,8 +758,8 @@ function clearMetaDataCache(res) { ...@@ -758,8 +758,8 @@ function clearMetaDataCache(res) {
// /make sure an initial user exists (or else we could never log into the DB for the first time) // /make sure an initial user exists (or else we could never log into the DB for the first time)
createInitialUser(); createInitialUser();
createNewUser("dh1","BLZ_dh1","cvce"); createNewUser("dh1","DHBlizaar","cvce");
createNewUser("biology","BLZ_biology","biology"); createNewUser("biology","bioBlizaar","biology");
module.exports.passport = passport; module.exports.passport = passport;
module.exports.ensureAuthenticated = ensureAuthenticated; module.exports.ensureAuthenticated = ensureAuthenticated;
module.exports.createNewUser = createNewUser; module.exports.createNewUser = createNewUser;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment