working on translation

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-06-07 12:24:32 +02:00
parent f18429a4b8
commit f882a56804

View File

@@ -539,7 +539,7 @@ public class Web extends TemplateServlet {
return loadTemplate("reset_link_sent",null,resp); return loadTemplate("reset_link_sent",null,resp);
} }
} catch (Exception e){ } catch (Exception e){
return loadTemplate(Util.getPath(req),Map.of(EMAIL,email,ERROR,"Failed to send reset email: "+e.getMessage()),resp); return loadTemplate(Util.getPath(req),Map.of(EMAIL,email,ERROR,t("Failed to send reset email:")+" "+e.getMessage()),resp);
} }
return null; return null;
} }