summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/export.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/export.js b/models/export.js
index 50971c88..76f2da06 100644
--- a/models/export.js
+++ b/models/export.js
@@ -31,7 +31,7 @@ if (Meteor.isServer) {
user = Meteor.users.findOne({
'services.resume.loginTokens.hashedToken': hashToken,
});
- } else {
+ } else if (!Meteor.settings.public.sandstorm) {
Authentication.checkUserId(req.userId);
user = Users.findOne({ _id: req.userId, isAdmin: true });
}