mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-04 08:05:36 -05:00
12 lines
270 B
JavaScript
12 lines
270 B
JavaScript
const adminUser = require('./models/admin-user');
|
|
|
|
const newUser = new adminUser.adminUserModel({
|
|
username: 'admin',
|
|
password: 'root'
|
|
});
|
|
|
|
newUser.save().then(() => {
|
|
console.log('success, user admin pass root');
|
|
}).catch((rejection) => {
|
|
console.log(rejection);
|
|
}); |