aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/auth.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-07-13 01:11:14 +0000
committerMohamed Bassem <me@mbassem.com>2025-07-13 01:11:14 +0000
commitf8ae986692f82efe8c1f3940907aab553e4f5a49 (patch)
tree5180fb18a644c743bc26a3c78620b59489f4e209 /packages/trpc/auth.ts
parent360ef9dbbe68f2b87fcb59ff0100de7527cc88ba (diff)
downloadkarakeep-f8ae986692f82efe8c1f3940907aab553e4f5a49.tar.zst
fix: Drop auth failure logger
Diffstat (limited to 'packages/trpc/auth.ts')
-rw-r--r--packages/trpc/auth.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/packages/trpc/auth.ts b/packages/trpc/auth.ts
index caf8e182..a01288d8 100644
--- a/packages/trpc/auth.ts
+++ b/packages/trpc/auth.ts
@@ -4,7 +4,6 @@ import * as bcrypt from "bcryptjs";
import { db } from "@karakeep/db";
import { apiKeys } from "@karakeep/db/schema";
import serverConfig from "@karakeep/shared/config";
-import { authFailureLogger } from "@karakeep/shared/logger";
// API Keys
@@ -116,13 +115,3 @@ export async function validatePassword(email: string, password: string) {
return user;
}
-
-export function logAuthenticationError(
- user: string,
- message: string,
- ip: string | null,
-): void {
- authFailureLogger.error(
- `Authentication error. User: "${user}", Message: "${message}", IP-Address: "${ip}"`,
- );
-}