Module config not saved, "Password reset form email address only description cannot be longer than 128 characters …"

Created on 8 February 2025, about 2 months ago

On a bilingual site (german as default + english), I tried to configure mail_login form at /admin/config/people/mail-login, but no matter which configuration, no matter how much characters the login override strings are, I can't save the config, throwing this error:

Password reset form email address only description cannot be longer than 128 characters but is currently 132 characters long.

Since nobody told about this issue earlier, I think it might be related to my multilingual site, maybe language strings are longer in german?
Any help much appreciated.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇩🇪Germany adam1

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

Comments & Activities

  • Issue created by @adam1
  • 🇯🇴Jordan mqanneh Amman

    I'm unable to reproduce this issue. can you test it in a fresh installation?

  • 🇩🇪Germany adam1

    I tested the issue on several fresh and clean installs — with german locale, issue is always occuring.
    Just use this DDEV recipe:

    mkdir testsite-german && cd testsite-german
    ddev config --project-type=drupal10 --docroot=web
    ddev start
    ddev composer create drupal/recommended-project:^10
    ddev composer require drush/drush
    ddev drush site:install --account-name=admin --account-pass=admin --locale=de -y
    ddev launch
    ddev composer require 'drupal/mail_login:^4.0'
    ddev drush pm:enable mail_login  
    ddev launch $(ddev drush uli)
Production build 0.71.5 2024