feat(share): add share ID length setting (#677)

- Add share ID length to share > settings
- Use cryptographically secure RNG for IDs
- Use secure default value for IDs length
- Add FR and EN translation

Co-authored-by: Romain Ricard <romain.ricard@mines-ales.org>
This commit is contained in:
Romain Ricard
2024-11-24 17:25:50 +01:00
committed by GitHub
parent f78ffd69e7
commit 9d4bb55a09
5 changed files with 45 additions and 13 deletions

View File

@@ -51,6 +51,11 @@ const configVariables: ConfigVariables = {
defaultValue: "0",
secret: false,
},
shareIdLength: {
type: "number",
defaultValue: "8",
secret: false,
},
maxSize: {
type: "number",
defaultValue: "1000000000",