UNPKG

nodegame-game-template

Version:

Template files for a standard nodeGame game

27 lines (23 loc) 631 B
/** * # Channel secret file * Copyright(c) {YEAR} {AUTHOR} <{AUTHOR_EMAIL}> * MIT Licensed * * The file must return the administrator user name and password * * The secret key can be stored here directly or loaded asynchronously from * another source, e.g a remote service or a database. * * http://www.nodegame.org * --- */ module.exports = function(settings, done) { return { user: '{ADMIN}', pwd: '{PWD}' }; // Example: return key asynchronously // loadCredentialsFromDatabase(function(err, credentials) { // done(err, credentials); // }); };