Skip to content

Conversation

@pixeldesu
Copy link
Member

@pixeldesu pixeldesu commented Oct 22, 2025

femanager v8 backport of #670

@pixeldesu pixeldesu changed the title [BUGFIX] Fix admin confirm/refuse backend actions v8: Fix admin confirm/refuse backend actions Oct 22, 2025
'userConfirmationRefused', 'confirmDeletion' => $this->statusUserConfirmationRefused($user, $hash),
'adminConfirmation', 'confirmAdmin' => $this->statusAdminConfirmation($user, $hash, $status, $backend),
'adminConfirmationRefused', 'adminConfirmationRefusedSilent', 'confirmAdminDeletion', 'confirmAdminDeletionSilent' =>
'adminConfirmationRefused', 'adminConfirmationRefusedSilent', 'confirmAdminDeletion', 'confirmAdminRefused', 'confirmAdminDeletionSilent' =>
Copy link
Contributor

@Patta Patta Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirmAdminDeletionSilent must be replaced by confirmAdminRefusedSilent to make the silent admin deletion work. see:

<f:form.hidden name="status" value="confirmAdminRefusedSilent" />

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally, the status confirmAdminRefusedSilent must be included in the if statement with && to prevent the email notification from being sent to the user:

if ($status !== 'adminConfirmationRefusedSilent') {

@sbusemann sbusemann merged commit a8dacbd into v8 Oct 25, 2025
9 of 15 checks passed
@sbusemann sbusemann added this to the 8.3.3 milestone Oct 25, 2025
@Patta
Copy link
Contributor

Patta commented Nov 17, 2025

@sbusemann this is missing in 8.3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants