re-enable profile check

This commit is contained in:
Sacha Greif 2015-05-06 12:33:48 +09:00
parent ccedc3072e
commit 5b8d6cf55a

View file

@ -43,13 +43,12 @@ function setupUser (user, options) {
}
Telescope.callbacks.register("userCreated", setupUser);
/**
* Check if the user has completed their profile with an email and username.
* @param {Object} user
*/
function hasCompletedProfile (user) {
return true;
//TODO
return !!Users.getEmail(user) && !!Users.getUserName(user);
}
Telescope.callbacks.register("profileCompletedChecks", hasCompletedProfile);