-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a login throttling to firewalls(アカウントロック、ログイン回数制限、ログイン試行回数制限、スロットリング) #5473
Conversation
Codecov Report
@@ Coverage Diff @@
## 4.2 #5473 +/- ##
============================================
+ Coverage 78.74% 78.78% +0.03%
+ Complexity 6251 6246 -5
============================================
Files 468 468
Lines 21007 20982 -25
============================================
- Hits 16543 16530 -13
+ Misses 4464 4452 -12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
テスト用のプラグインインストール時に以下のようなシステムエラーが発生している模様です
https://github.com/EC-CUBE/ec-cube/blob/4.2/codeception/_data/plugins/Bundle-1.0.0.tgz をインストールしようとすると再現します |
services.yaml の設定を以下に変更 ``` security: enable_authenticator_manager: true ```
プラグインのテストで使用している Bundle プラグインの |
@pineray |
@nanasess |
@pineray
こちら了解です。エラーになるのを確認しました。 |
概要(Overview・Refs Issue)
ログインに指定回数失敗すると、一定期間ログイン制限を行う機能を追加する。
#4249
方針(Policy)
Symfony 5.2以降は標準でログイン試行回数を制限する機能が存在するため、これを使用する。
相談(Discussion)
chihiro-adachi さんの提案では .env にパラメーターを設定して、それを security.yaml へ渡すという仕様でしたが、そのようにすると max_attempts の値が not numeric value のエラーとなるため、security.yaml へ直接記述するようにしています。
マイナーバージョン互換性保持のための制限事項チェックリスト
レビュワー確認項目