feat(diary): 班级码验证添加5次错误锁定 — Redis计数 + 30分钟冷却
This commit is contained in:
@@ -116,6 +116,7 @@ impl FromRef<AppState> for erp_diary::DiaryState {
|
||||
db: state.db.clone(),
|
||||
event_bus: state.event_bus.clone(),
|
||||
crypto: state.pii_crypto.clone(),
|
||||
redis: Some(state.redis.clone()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user