Reemplace shortid with nanoid in background with alphabet and length configurable #810

This commit is contained in:
joker-x 2020-08-25 22:53:53 +02:00
parent aed115a64b
commit 8b900c94ba
3 changed files with 32 additions and 0 deletions

View file

@ -55,6 +55,10 @@ enabledLanguages:
# Inject custom scripts in subscription/layout.mjml.hbs
# customSubscriptionScripts: [/custom/hello-world.js]
# Customize the random string generation for cid
cid:
alphabet: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
length: 10
# Enable to use Redis session cache or disable if Redis is not installed
redis: