Skip to content

Conversation

@pixeldesu
Copy link
Member

@pixeldesu pixeldesu commented Oct 22, 2025

This PR fixes issues with the backend confirmation module, for one, that neither confirm/refuse functioned properly, and refuse effectively doing nothing anymore.

Both buttons now do what they are supposed to do again.

Testing notice: You need to enable the extension configuration "Enable confirmation view" to see the module in question.

And also set following TypoScript to enable the error cases with confirmations, as they came about with the double opt-in feature:

plugin.tx_femanager.settings.new.email.createUserConfirmation.confirmAdminConfirmation = 1
plugin.tx_femanager.settings.new.email.createUserConfirmation.confirmUserConfirmation = 1
plugin.tx_femanager.settings.new.email.createUserConfirmation.confirmUserConfirmationRefused = 1

Fixes #668
Fixes #639
Fixes #665
Fixes #108 (not explicitly a double opt-in/confirm issue, but an easy enough fix to be included)

@sbusemann sbusemann self-assigned this Oct 24, 2025
@sbusemann sbusemann added this to the 13.2 milestone Oct 24, 2025
@sbusemann sbusemann merged commit b2565f0 into main Oct 24, 2025
9 of 15 checks passed
'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') {

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

Labels

None yet

Projects

None yet

4 participants