feat: make used bcrypt rounds configurable

This allows to configure the used bcrypt rounds and set it to 4 in tests, greatly speeding up the tests. It's not really required to set this to another value but it might be in the future as computers get faster.
This commit is contained in:
kolaente
2024-10-13 15:38:04 +02:00
parent e22fb1e73e
commit a88124cfce
17 changed files with 69 additions and 59 deletions

View File

@@ -127,6 +127,11 @@
"key": "enablepublicteams",
"default_value": "false",
"comment": "Enables the public team feature. If enabled, it is possible to configure teams to be public, which makes them\ndiscoverable when sharing a project, therefore not only showing teams the user is member of."
},
{
"key": "bcryptrounds",
"default_value": "11",
"comment": "The number of bcrypt rounds to use during registration. Each increment of this number doubles the computational cost. You probably don't need to change this value."
}
]
},