<commit_before>exports = module.exports = function(Users) {

  return function(uid, state, cb){
    uid = '5001';
    
    if (!uid) { return cb(null, false); }
    Users.get(uid, function(err, user) {
      if (err) { return cb(err); }
      if (!user) { return cb(null, false); }
      return cb(null, user);
    });
  };
};

exports['@require'] = [ 'http://schemas.authnomicon.org/js/ds/Users' ];
<commit_msg>Temporarily remove data services (need to port to realm and directory).<commit_after>exports = module.exports = function(Users) {

  return function(uid, state, cb){
    uid = '5001';
    
    console.log('TODO: authnomicon-login, state/scheme/verify - port to realms');
    /*
    if (!uid) { return cb(null, false); }
    Users.get(uid, function(err, user) {
      if (err) { return cb(err); }
      if (!user) { return cb(null, false); }
      return cb(null, user);
    });
    */
  };
};

exports['@require'] = [
  //'http://schemas.authnomicon.org/js/ds/Users'
];

{'fraction_non_alphanumeric': 0.18431771894093688, 'fraction_numerical': 0.008146639511201629, 'mean_word_length': 2.963709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6169769', 'n_tokens_mistral': 345, 'n_tokens_neox': 339, 'n_words': 78}