mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
re-enable profile check
This commit is contained in:
parent
ccedc3072e
commit
5b8d6cf55a
1 changed files with 1 additions and 2 deletions
|
@ -43,13 +43,12 @@ function setupUser (user, options) {
|
||||||
}
|
}
|
||||||
Telescope.callbacks.register("userCreated", setupUser);
|
Telescope.callbacks.register("userCreated", setupUser);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the user has completed their profile with an email and username.
|
* Check if the user has completed their profile with an email and username.
|
||||||
* @param {Object} user
|
* @param {Object} user
|
||||||
*/
|
*/
|
||||||
function hasCompletedProfile (user) {
|
function hasCompletedProfile (user) {
|
||||||
return true;
|
|
||||||
//TODO
|
|
||||||
return !!Users.getEmail(user) && !!Users.getUserName(user);
|
return !!Users.getEmail(user) && !!Users.getUserName(user);
|
||||||
}
|
}
|
||||||
Telescope.callbacks.register("profileCompletedChecks", hasCompletedProfile);
|
Telescope.callbacks.register("profileCompletedChecks", hasCompletedProfile);
|
||||||
|
|
Loading…
Add table
Reference in a new issue