From 0debc6b415baa466245901fb52c009d09ef3ba15 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Sat, 19 Oct 2024 22:24:26 +0200 Subject: feature: Log authentication failures to support fail2ban. Fixes #477 (#569) * How do I set the variable "user" or "system" for AI inference #262 changed from system to user * [Feature Request] Log failed login attempts for fail2ban implementation #477 added logging of failed logins * [Feature Request] Log failed login attempts for fail2ban implementation #477 added more logging for extension related logins * Propagte IP to trpc --------- Co-authored-by: Your Name --- apps/web/package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/package.json') diff --git a/apps/web/package.json b/apps/web/package.json index e6691563..cbc01a50 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -68,6 +68,7 @@ "react-syntax-highlighter": "^15.5.0", "remark-breaks": "^4.0.0", "remark-gfm": "^4.0.0", + "request-ip": "^3.3.0", "sharp": "^0.33.3", "superjson": "^2.2.1", "tailwind-merge": "^2.2.1", @@ -83,6 +84,7 @@ "@types/react": "^18.2.55", "@types/react-dom": "^18.2.19", "@types/react-syntax-highlighter": "^15.5.13", + "@types/request-ip": "^0.0.41", "autoprefixer": "^10.4.17", "postcss": "^8.4.35", "tailwindcss": "^3.4.1", -- cgit v1.2.3-70-g09d2