craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.29k stars 638 forks source link

E-Mail Passwords won't save properly #2836

Closed bschulz87 closed 6 years ago

bschulz87 commented 6 years ago

Description

When trying to use SMTP for the E-Mail Settings the password won't get saved properly. The value gets base64 encoded apparently.

Steps to reproduce

  1. Go to /admin/settings/email
  2. Choose SMTP and check Auth
  3. Insert Credentials and save

Additional info

angrybrad commented 6 years ago

Functionally it should still work. The correct password is saved to the database, but it is encrypted when displayed in the Control Panel to prevent people from being able to View Source on the page and see a plain text password.