mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
userLoaded -> userId
This commit is contained in:
parent
91c7da215c
commit
92c57121ed
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@
|
|||
requireProfile: function(page) {
|
||||
var user = Meteor.user();
|
||||
// XXX: this is out of date
|
||||
if (user && Meteor.userLoaded() && ! userProfileComplete(user)){
|
||||
if (user && Meteor.userId() && ! userProfileComplete(user)){
|
||||
Session.set('selectedUserId', user._id);
|
||||
return 'user_email';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue