1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-04-18 19:42:23 +02:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Laurent Cozic e73f17f1af update 2026-04-17 08:34:55 +01:00
+5 -1
View File
@@ -31,7 +31,11 @@ const subRoutes: Record<string, RouteHandler> = {
try {
await ctx.joplin.models.user().sendResetPasswordEmail(fields.email || '');
} catch (error) {
logger.warn(`Could not send reset email for ${fields.email}`, error);
if (error instanceof ErrorNotFound) {
logger.info(`Could not send reset email for ${fields.email}`, error);
} else {
logger.warn(`Could not send reset email for ${fields.email}`, error);
}
}
confirmationMessage = 'If we have an account that matches your email, you should receive an email with instructions on how to reset your password shortly.';