You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
You can't set an empty username or password for SMTP via the admin interface.
Steps to Reproduce
Go to Admin > Email
Leave username or password field blank
Click Save
Error message for field required
Expected Behavior
Some SMTP servers do not require a password and possibly not a username either. I think the library handles username-less and password-less correctly so we shouldn't require them in the interface.
Environment
Flarum version: beta13
Output of "php flarum info", run this in terminal in your Flarum directory.
Bug Report
Current Behavior
You can't set an empty username or password for SMTP via the admin interface.
Steps to Reproduce
Expected Behavior
Some SMTP servers do not require a password and possibly not a username either. I think the library handles username-less and password-less correctly so we shouldn't require them in the interface.
Environment
Possible Solution
Remove
required
rule in https://github.com/flarum/core/blob/1d7641cbb098d92f5be3f17561a0e6b52ee2c6b0/src/Mail/SmtpDriver.phpAdditional Context
Follows report in https://discuss.flarum.org/d/24617-how-to-use-smtp-without-username-authentication
The text was updated successfully, but these errors were encountered: