Refactor to make code more compact.

Esse commit está contido em:
Daniel Howard
2014-07-02 15:20:23 -07:00
commit 1678ebb345
+1 -2
Ver Arquivo
@@ -8,9 +8,8 @@ exports.authenticate = function(request, callback, hub) {
// Verify user based on request.
// On failure, redirect user to auth form
hub.uid++;
callback({
username: 'username' + hub.uid,
username: 'username' + (++hub.uid),
displayname: 'John Smith',
otherinfo: 'any other relevant key/values'
});