dendrite/setup
Devon Mizelle c2a15d2119 Add Password Complexity Configuration
A potential solution to #1963.

This commit does the following:

1. Moves the values for minimum and maximum password length into the
ClientAPI configuration struct.
2. Introduces a new struct representing the password complexity
requirements defined in dendrite-config.yml, with four options. Defaults
are compatible with what users probably expect out of synapse.
  * Minimum length, default of 8
  * Maximum length, default of 512
  * Minimum number of symbols, default of 0
  * Requiring mixed case toggle, default of false
3. Adds tests for the logic of validating passwords.

Signed-off-by: Devon Mizelle <dev@devon.so>
2021-08-13 19:14:54 -04:00
..
config Add Password Complexity Configuration 2021-08-13 19:14:54 -04:00
kafka Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
mscs Add tracing to user API (#1948) 2021-08-03 11:23:25 +01:00
process Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00
base.go Fix DNS CacheLifetime (#1926) 2021-07-16 19:42:53 +01:00
federation.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
flags.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
monolith.go Implement /_synapse/admin/v1/register (#1911) 2021-07-09 16:52:31 +01:00