summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlib/response.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/response.js b/lib/response.js
index e8430d60..910db863 100755
--- a/lib/response.js
+++ b/lib/response.js
@@ -123,9 +123,6 @@ function checkViewPermission(req, note) {
else
return true;
} else {
- if(!config.allowanonymousView && !req.isAuthenticated()) {
- return false;
- }
return true;
}
}