Call to deprecated method in D9

Created on 20 July 2021, over 3 years ago
Updated 6 November 2023, about 1 year ago

Problem/Motivation

There is still a deprecated method Drupal\user\Entity\User::getUsername() on
tfa_duo/src/Plugin/TfaValidation/TfaDuoValidation.php on line 81 on the latest dev version of this module.

This error was omitted somehow here: https://www.drupal.org/project/tfa_duo/issues/3046501 β†’

Proposed resolution

Replace the deprecated method getUsername() with getDisplayName()

Patch provided.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mihaic

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024