mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #1504] [MERGED] Filters sensitive credential fields from auth:fail logs #1417
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1504
Author: @Regen1337
Created: 7/9/2025
Status: ✅ Merged
Merged: 7/17/2025
Merged by: @lancepioch
Base:
main← Head:main📝 Commits (2)
4431d41Refactored authentication logging to protect sensitive fields from being exposed in auth:fail logsa787902pint📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
app/Listeners/Auth/AuthenticationListener.php(+7 -1)📄 Description
This patch filters sensitive credential fields during logging, ensuring only safe identifiers (email, username, IP, useragent) are recorded while maintaining the current audit trail functionality.
I also propose purging auth:fail logs in the next update so that any currently logged data is cleared.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.