mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
Key Features: Password Configuration: The PasswordConfig struct allows customization of the password validation requirements. This can be extended to include more complex policies as needed. YAML Configuration: The PasswordConfig struct could be loaded from a YAML file, enabling dynamic adjustment of the password requirements without code changes. Password Validation: The ValidatePassword function checks the length, presence of uppercase letters, lowercase letters, digits, and special characters based on the provided configuration. Sidecar Feature: A placeholder sidecarLogPasswordValidation function is included, where you could integrate with a logging service to track password validation attempts. Signed-off-by: AllMightLegend srinjoysen123@gmail.com |
||
|---|---|---|
| .. | ||
| caching | ||
| eventutil | ||
| fulltext | ||
| hooks | ||
| httputil | ||
| pushgateway | ||
| pushrules | ||
| sqlutil | ||
| transactions | ||
| log.go | ||
| log_unix.go | ||
| log_windows.go | ||
| mutex.go | ||
| tracing.go | ||
| tracing_test.go | ||
| transactionrequest.go | ||
| transactionrequest_test.go | ||
| validate.go | ||
| validate_test.go | ||
| version.go | ||