fix: fix transaction reset after mail failure

This commit is contained in:
Emmanuel BENOîT 2025-01-02 16:52:57 +01:00
parent 0a5b8254cd
commit b9bae69e6a
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -95,7 +95,8 @@ class main_lostPassword {
)); ));
if (!$rv) { if (!$rv) {
$this->db->end(true); $this->db->start(); $this->db->end(true);
$this->db->begin();
return null; return null;
} }