mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
9 lines
No EOL
288 B
JavaScript
9 lines
No EOL
288 B
JavaScript
|
|
/**
|
|
* Check if the user has completed their profile with an email and username.
|
|
* @param {Object} user
|
|
*/
|
|
function hasCompletedProfile (user) {
|
|
return !!Users.getEmail(user) && !!Users.getUserName(user);
|
|
}
|
|
Telescope.callbacks.register("profileCompletedChecks", hasCompletedProfile); |