Skip to content

Commit

Permalink
error text
Browse files Browse the repository at this point in the history
  • Loading branch information
peintnermax committed Jan 10, 2025
1 parent a85e3b1 commit c1137cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/login/src/lib/zitadel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ export async function searchUsers({
loginSettings.disableLoginWithEmail &&
loginSettings.disableLoginWithPhone
) {
return { error: "No user was found in the system" };
return { error: "User not found in the system" };
} else if (loginSettings.disableLoginWithEmail && searchValue.length <= 20) {
const phoneQuery = PhoneQuery(searchValue);
emailAndPhoneQueries.push(phoneQuery);
Expand Down Expand Up @@ -581,7 +581,7 @@ export async function searchUsers({
return loginNameResult;
}

return { error: "No user was found in the system" };
return { error: "User not found in the system" };
}

export async function getDefaultOrg(): Promise<Organization | null> {
Expand Down

0 comments on commit c1137cc

Please sign in to comment.