Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By catch on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
UserLoginForm::validateName()
is deprecated because it has been merged into UserLoginForm::validateAuthentication()
and will be removed in 12.0.0.
If you were overriding the user login form and explicitly referencing ::validateName()
, remove any references to this method and ensure that the login code flow calls ::validateAuthentication()
instead. If code does not explicitly reference ::validateName()
it should be unaffected by this change.
Impacts:
Module developers