summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
author蒼時弦也2017-01-10 09:32:44 +0800
committer蒼時弦也2017-01-10 09:32:44 +0800
commitf8e5b547670e3eeb75af3249bb9ad1ee2f44e58f (patch)
tree5c486ec51c46bc058067ea421535ee28819f607c /lib/response.js
parent9a23fec2390101b6ef7333674e8a8a84f0ebb339 (diff)
Remove temporary change
Diffstat (limited to 'lib/response.js')
-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;
}
}