Unable to Disable TFA for a user.

Created on 12 October 2023, 9 months ago
Updated 20 October 2023, 8 months ago

Problem/Motivation

Error
TypeError: Drupal\tfa\Form\TfaDisableForm::deleteUserData(): Argument #2 ($key) must be of type string, null given, called in /var/www/html/web/modules/custom/tfa/src/Form/TfaDisableForm.php

Steps to reproduce

As admin navigate to user/USER_ID_HERE/security/tfa/disable for a user with TFA enabled, attempt to disable TFA and receive an error.

This is suspected to be related to some of our recent typehint changes.

Proposed resolution

Remaining tasks

User interface changes

None

API changes

None expected

Data model changes

None

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇸United States cmlara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024