Impossible to clear the password

Created on 26 March 2024, 8 months ago
Updated 2 April 2024, 8 months ago

Having previously set a password under SMTP Authentication, there appears to be no way to clear the password.

Even if I uninstall the module and re-install it, it appears the stored password is still there.

At minimum, the password should be cleared when the module is uninstalled.

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States arnoldbird

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

Comments & Activities

  • Issue created by @arnoldbird
  • After uninstalling module the password is cleared from the smtp.settings configuration and we need to set the password again.

  • πŸ‡ΊπŸ‡ΈUnited States arnoldbird

    After uninstalling and re-installing the module, I continue to see the password filled in. See attached screenshot. However, I suspect this might just be something my browser is doing.

  • πŸ‡¬πŸ‡§United Kingdom aaron.ferris

    Does feel like a browser saved password perhaps, ive just tried the following:

    Drupal 10.2.4
    SMTP 8.x-1.2

    1. Enable SMTP
    2. Check the smtp.settings config
    3. Empty strings as expected
    4. Go to admin/config/system/smtp
    5. Add a bunch of the settings, including password
    6. Save
    7. Export smtp.settings
    8. Configured values show as expected
    9. Uninstall smtp
    10. smtp.settings config no longer exists
    11. Re-enable smtp
    12. Export smtp.settings

    Result:

    _core:
      default_config_hash: (random hash)
    smtp_on: false
    smtp_host: ''
    smtp_hostbackup: ''
    smtp_port: '25'
    smtp_protocol: standard
    smtp_autotls: true
    smtp_timeout: 30
    smtp_username: ''
    smtp_password: ''
    smtp_from: ''
    smtp_fromname: ''
    smtp_client_hostname: ''
    smtp_client_helo: ''
    smtp_allowhtml: ''
    smtp_test_address: ''
    smtp_reroute_address: ''
    smtp_debugging: false
    prev_mail_system: php_mail
    smtp_keepalive: false
Production build 0.71.5 2024