From 3a7167369a90da38e73622f400ca35b375b48fd7 Mon Sep 17 00:00:00 2001 From: VIDIT45AGARWAL Date: Wed, 10 Dec 2025 22:30:30 +0530 Subject: [PATCH] Changed login error message from User not found to Incorrect username or password --- apps/meteor/app/lib/server/lib/loginErrorMessageOverride.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/lib/server/lib/loginErrorMessageOverride.ts b/apps/meteor/app/lib/server/lib/loginErrorMessageOverride.ts index e2a6e0d105812..0cd3d56dad4e3 100644 --- a/apps/meteor/app/lib/server/lib/loginErrorMessageOverride.ts +++ b/apps/meteor/app/lib/server/lib/loginErrorMessageOverride.ts @@ -9,7 +9,7 @@ Accounts._runLoginHandlers = async function (methodInvocation, options) { const result = await _runLoginHandlers.call(Accounts, methodInvocation, options); if (result.error instanceof Meteor.Error) { - result.error = new Meteor.Error(401, 'User not found'); + result.error = new Meteor.Error(401, 'Incorrect username or password'); } return result;