Merge pull request #205 from coreos/example-email

*: use example.com in place of coreos.com
This commit is contained in:
bobbyrullo 2015-12-07 15:42:06 -08:00
commit 8cec2d6ba9
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ if [ -v $DOCKER_USER ] || [ -v $DOCKER_PASSWORD ]; then
echo "env variables not set: DOCKER_USER, DOCKER_PASSWORD. skipping login, assuming creds in .dockercfg"
else
echo logging in as $DOCKER_USER
docker login --username="$DOCKER_USER" --password="$DOCKER_PASSWORD" --email="docker.login@coreos.com" $DOCKER_REGISTRY
docker login --username="$DOCKER_USER" --password="$DOCKER_PASSWORD" --email="dex@example.com" $DOCKER_REGISTRY
fi
git_sha=$(git rev-parse HEAD)

View file

@ -41,7 +41,7 @@ func main() {
emailTemplateDirs := flagutil.StringSliceFlag{"./static/email"}
fs.Var(&emailTemplateDirs, "email-templates", "comma separated list of directories of email template files")
emailFrom := fs.String("email-from", "no-reply@coreos.com", "emails sent from dex will come from this address")
emailFrom := fs.String("email-from", "", "emails sent from dex will come from this address")
emailConfig := fs.String("email-cfg", "./static/fixtures/emailer.json", "configures emailer.")
enableRegistration := fs.Bool("enable-registration", false, "Allows users to self-register")

View file

@ -54,7 +54,7 @@ func main() {
log.EnableDebug()
emailTemplates := flag.String("templates-dir", "./static/email", "directory of email template files")
emailFrom := flag.String("from", "no-reply@coreos.com", "")
emailFrom := flag.String("from", "no-reply@example.com", "")
emailTo := flag.String("to", "", "")
emailConfig := flag.String("cfg", "./static/fixtures/emailer.json", "configures emailer.")
tplName := flag.String("template", "verify-email", "which email template to use.")