lib/install.js
function createAdminUser(app, result, callback) {
  // Create the admin user.
  var User = app.type('user');
  var userData = {
    username: result.adminName,
    password: result.adminPass,
    email: result.adminEmail,
    roles: ['administrator']
  };
  User.validateAndSave(userData, callback);
}
function createAdminUser(app, result, callback) {
  // Create the admin user.
  var User = app.type('user');
  var userData = {
    username: result.adminName,
    password: result.adminPass,
    email: result.adminEmail,
    roles: ['administrator']
  };
  User.validateAndSave(userData, callback);
}
function createAdminUser ( app , result , callback ) { // Create the admin user. var User = app . type ( 'user' ) ; var userData = { username : result . adminName , password : result . adminPass , email : result . adminEmail , roles : [ 'administrator' ] } ; User . validateAndSave ( userData , callback ) ; }
Create administrator user.
Create administrator user .