feat(config): add sensitive word filtering system with database support
Implement sensitive word filtering feature with configurable database and Redis support. Add security enhancements including WebSocket origin validation, improved password strength requirements, timing attack prevention, and production JWT secret validation. Add batch operation validation limits and optimize user blocking queries with subqueries. BREAKING CHANGE: Password validation now requires minimum 8 characters with uppercase, lowercase, and digit (was 6-50 characters without complexity requirements)
This commit is contained in:
@@ -37,6 +37,9 @@ var RepositorySet = wire.NewSet(
|
||||
|
||||
// 身份认证相关仓储
|
||||
repository.NewVerificationRepository,
|
||||
|
||||
// 敏感词相关仓储
|
||||
repository.NewSensitiveWordRepository,
|
||||
)
|
||||
|
||||
// ProvideUserActivityRepository 提供用户活跃数据仓储
|
||||
|
||||
Reference in New Issue
Block a user