Skip to content

[stable32] fix: Send password to owner when password sending fails, regardless of enforcement - #64422

Open
backportbot[bot] wants to merge 2 commits into
stable32from
backport/50517/stable32
Open

backportbot[bot] wants to merge 2 commits into
stable32from
backport/50517/stable32

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 16, 2026

Copy link
Copy Markdown

Backport of PR #50517

nfebe and others added 2 commits September 16, 2026 15:58
…f enforcement

Previously, the `sendPasswordToOwner` method would only trigger if password enforcement was enabled and sending the password to the recipient failed. This behavior was inconsistent with the intended functionality, as the owner should receive the password whenever sending to the recipient fails, regardless of whether password enforcement is enabled.

This change ensures that the owner is notified of the password whenever sending it to the recipient fails, improving consistency and user experience.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

WIP test(share_by_mail): Send password to owner if `send_by_mail` is disabled

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: Ghassen kefi <ghassen.kefi.dev@gmail.com>
@backportbot
backportbot Bot requested a review from a team as a code owner September 16, 2026 15:58
@backportbot
backportbot Bot requested review from CarlSchwan, artonge, come-nc, icewind1991, leftybournes, nfebe and susnux and removed request for a team September 16, 2026 15:58
@susnux susnux assigned GhassenKefi and unassigned nfebe Sep 16, 2026
@susnux
susnux requested review from GhassenKefi and removed request for nfebe September 16, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants