-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back authentication checkbox for mailer settings #36785
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
96bba83
to
1d05efc
Compare
1d05efc
to
214b910
Compare
@szaimen should be good now, apologies! |
Signed-off-by: Anna Larch <anna@nextcloud.com>
214b910
to
f0ffa91
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works in my testing (did test with ssl on port 465 and authentication enabled) but didnt review the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me 👍
<select name="mail_smtpauthtype" id="mail_smtpauthtype" disabled="disabled"> | ||
<?php foreach ($mail_smtpauthtype as $authtype => $name): | ||
$selected = ''; | ||
if ($authtype == $_['mail_smtpauthtype']): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[PHP] Undefined array key "mail_smtpauthtype" at /var/www/cloud.nextcloud.com/nextcloud/apps/settings/templates/settings/admin/additional-mail.php#132
https://nextcloud-gmbh.sentry.io/issues/3973302224
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
The symfony mailer refactor removed the authentication checkbox and caused the save for the authentication data to be buggy.
TODO
Checklist
Tests (unit, integration, api and/or acceptance) are includedScreenshots before/after for front-end changes