Skip to content
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

*: depricate --email-from flag and move to email config files #487

Merged
merged 2 commits into from
Jul 19, 2016

Conversation

ericchiang
Copy link
Contributor

Still need to test with a full installation.

Closes #389

@ericchiang
Copy link
Contributor Author

Seems to work. Ready for review @sym3tri

@@ -20,6 +20,7 @@ set `auth` to `plain` and specify your username and password.
"host": "smtp.example.org",
"port": 587,
"auth": "plain",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While you're in here can you make this field not required. Currently if it's omitted Dex explodes, but we only support 'plain' and a default. Let's just default to the default if it's not provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed this to use auth if "username" and "password" fields are provided.

Also going to let the port be provided in the "host" field.

@sym3tri
Copy link

sym3tri commented Jul 1, 2016

LGTM

Use "plain" auth if and only if username and password are provided.

Parse port from "host" field if it's provided.
@ericchiang
Copy link
Contributor Author

Since all changes are backward compatible I'm going to merge unless there are objections.

cc @sym3tri

@ericchiang ericchiang merged commit 33010e2 into dexidp:master Jul 19, 2016
@ericchiang ericchiang deleted the unify-email-config branch November 22, 2016 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants