Making login work with Meteor Accounts package
This commit is contained in:
1 parent
d47bcb9c2a
commit
65ee016efc
3 files changed
+25
-4
No files matched your search
@@ -33,8 +33,8 @@ OHIF.studylist.retrieveStudyMetadata = studyInstanceUid => {
|
||||
Meteor.call('GetStudyMetadata', studyInstanceUid, function(error, study) {
|
||||
console.timeEnd('retrieveStudyMetadata');
|
||||
|
||||
if (Meteor.user && Meteor.user()) {
|
||||
HipaaLogger.logEvent({
|
||||
if (window.HipaaLogger && Meteor.user && Meteor.user()) {
|
||||
window.HipaaLogger.logEvent({
|
||||
eventType: 'viewed',
|
||||
userId: Meteor.userId(),
|
||||
userName: Meteor.user().profile.fullName,
|
||||
|
||||
Reference in new issue
Block a user