Skip to content

Commit ac0f5a9

Browse files
committed
feat: change default anonymous setting
BREAKING CHANGE: change allowAnonymous to `false` and setup allowAnonymousEdits and allowAnonymousViews to `true` Signed-off-by: BoHong Li <raccoon@hackmd.io>
1 parent 66ec25d commit ac0f5a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/config/default.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ module.exports = {
2929
},
3030
protocolUseSSL: false,
3131
useCDN: true,
32-
allowAnonymous: true,
33-
allowAnonymousEdits: false,
32+
allowAnonymous: false,
33+
allowAnonymousEdits: true,
3434
allowAnonymousViews: true,
3535
allowFreeURL: false,
3636
forbiddenNoteIDs: ['robots.txt', 'favicon.ico', 'api'],

0 commit comments

Comments
 (0)