'use strict';

var form = require('express-form')
  , field = form.field;

module.exports = form(
  field('settingForm[fb:appId]').trim().is(/^\d+$/),
  field('settingForm[fb:seret]').trim().is(/^[\da-z]+$/)
);


'use strict';

var form = require('express-form')
  , field = form.field;

module.exports = form(
  field('settingForm[facebook:appId]').trim().is(/^\d+$/),
  field('settingForm[facebook:secret]').trim().is(/^[\da-z]+$/)
);


Fix typo on facebook setting form
Fix typo on facebook setting form
