diff --git a/src/keycloak/index.ts b/src/keycloak/index.ts index b59d5e81..f359a340 100644 --- a/src/keycloak/index.ts +++ b/src/keycloak/index.ts @@ -1019,7 +1019,9 @@ export async function resetPassword(username: string) { if (!users.ok) { const errorText = await users.text(); - console.error(`[resetPassword] Failed to search user. Status: ${users.status}, Error: ${errorText}`); + console.error( + `[resetPassword] Failed to search user. Status: ${users.status}, Error: ${errorText}`, + ); return false; } @@ -1047,7 +1049,9 @@ export async function resetPassword(username: string) { if (!resetResponse.ok) { const errorText = await resetResponse.text(); - console.error(`[resetPassword] Failed to send reset email. Status: ${resetResponse.status}, Error: ${errorText}`); + console.error( + `[resetPassword] Failed to send reset email. Status: ${resetResponse.status}, Error: ${errorText}`, + ); return false; } @@ -1117,7 +1121,7 @@ export async function updateUserAttributes( return false; } - console.log(`[updateUserAttributes] Successfully updated attributes for user ${userId}`); + // console.log(`[updateUserAttributes] Successfully updated attributes for user ${userId}`); return true; } catch (error) { console.error(`[updateUserAttributes] Error updating attributes for user ${userId}:`, error);