dendrite/internal
Srinjoy Sen Chowdhury 18eed12d40 #1963 issue : Added more requirements for password
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
2024-08-15 21:05:18 +05:30
..
caching de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
eventutil Move pseudoID ClientEvent hotswapping to a common location (#3199) 2023-09-15 15:25:09 +00:00
fulltext refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
hooks Remove gmsl.HeaderedEvent (#3068) 2023-04-27 12:54:20 +01:00
httputil Return correct Content-Type for unrecognized requests (#3355) 2024-04-08 07:51:04 +02:00
pushgateway Add basic runtime tracing (#2996) 2023-03-13 16:45:14 +01:00
pushrules Implement MSC3987, fix setting Element Android notifications (#3242) 2023-10-24 11:51:08 +02:00
sqlutil Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00
transactions Scope transactions to endpoints (#2799) 2022-10-17 14:48:35 +02:00
log.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
log_unix.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
log_windows.go Remove polylith/API mode (#2967) 2023-02-14 12:47:47 +01:00
mutex.go Add a per-room mutex to federationapi when processing transactions (#1810) 2021-03-30 10:01:32 +01:00
tracing.go Add basic runtime tracing (#2996) 2023-03-13 16:45:14 +01:00
tracing_test.go Add basic runtime tracing (#2996) 2023-03-13 16:45:14 +01:00
transactionrequest.go Update gmsl to use new validated RoomID on PDUs (#3200) 2023-09-15 14:39:06 +00:00
transactionrequest_test.go Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00
validate.go #1963 issue : Added more requirements for password 2024-08-15 21:05:18 +05:30
validate_test.go Allow + in MIDs as per MSC4009 (#3313) 2024-01-25 21:17:20 +01:00
version.go Version 0.13.7 (#3349) 2024-04-09 10:24:27 +02:00