Issue Feature Under Review Quiet

#109131Reset TOTP MFA provider from command line

Christian Weiske 03/03/26, 08:48 updated 10/23/26, 14:12

Description

When entering the wrong TOTP code 3x upon login, the TOTP MFA provider gets locked. The user gets the following message:

> This provider is temporarily locked!
>
> The maximum attempts for this provider are exceeded. Please use another provider or contact your administrator.

This is not temporarily because it requires an admin to reset/unlock the provider for this specific user.

Currently this is only possible via the backend, but not on the command line.

There should be a CLI command that unlocks the MFA provider for a given user ID or email address.

(This is with TYPO3 v12, but I believe there is no such command in v13 either)

Reviews 1

History 611

  1. Christian Weiske commented <span data-processor="relativetime" data-value="2026-09-28T08:38:46+00:00" > 09/28/26, 08:38 </span>

    How to unlock the 2FA for a user in the backend:
    You have to switch to the user, then top right “User Settings”, then “Account security”, then “Manage multi-factor authentication”, then “Unlock”.

  2. Georg Ringer commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-10-18T12:46:23+00:00" > 10/18/26, 12:46 </span>

    I created an extension https://github.com/georgringer/mfa_unlock which does all of that. might wanna check it out and give feedback via slack. after that we can think about what to bring to the core

  3. Gerrit Code Review pushed patch set 1 for main to change 97048 status Needs Feedback Under Review <span data-processor="relativetime" data-value="2026-10-23T07:23:58+00:00" > 10/23/26, 07:23 </span>