feat(rate-limit): add more config options
Allow the admin to specify the rate-limits for user signup / login Allow the admin to specify if Cloudflare specific rate-limit functionality should be used or not Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
committed by
Philip Molares
parent
d7c1e45814
commit
8891d75baa
@@ -30,6 +30,8 @@ module.exports = {
|
||||
allowPDFEmbed: true
|
||||
},
|
||||
rateLimitNewNotes: 20,
|
||||
rateLimitUser: 10,
|
||||
rateLimitUsingCloudflare: false,
|
||||
cookiePolicy: 'lax',
|
||||
protocolUseSSL: false,
|
||||
// permissions
|
||||
|
||||
Reference in New Issue
Block a user