Skip to content

feat(UX): Show a warning when bruteforce protection is throttling#11927

Merged
nickvergessen merged 1 commit into
mainfrom
bugfix/noid/show-warning-when-bfp-more-than-5s
Mar 26, 2024
Merged

feat(UX): Show a warning when bruteforce protection is throttling#11927
nickvergessen merged 1 commit into
mainfrom
bugfix/noid/show-warning-when-bfp-more-than-5s

Conversation

@nickvergessen
Copy link
Copy Markdown
Member

@nickvergessen nickvergessen commented Mar 25, 2024

☑️ Resolves

Bildschirmfoto vom 2024-03-25 17-27-50

For testing add:

$response->addHeader('X-Nextcloud-Bruteforce-Throttled', '25000ms');

Before
https://github.com/nextcloud/server/blob/25309bcb45232bf30fe719bac1776f0136f7cd7a/lib/private/AppFramework/Middleware/Security/BruteForceMiddleware.php#L136

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

Copy link
Copy Markdown
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok
Can we include request ID or user IP for backtracking?

@nickvergessen
Copy link
Copy Markdown
Member Author

Well that will be any "join" of a conversation. But yeah might make sense to add some info the sysadmin can find locally

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/show-warning-when-bfp-more-than-5s branch from 1896959 to 6fd87cb Compare March 26, 2024 07:36
@nickvergessen nickvergessen merged commit 27152f0 into main Mar 26, 2024
@nickvergessen nickvergessen deleted the bugfix/noid/show-warning-when-bfp-more-than-5s branch March 26, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: chat 💬 Chat and system messages feature: frontend 🖌️ "Web UI" client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants