Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
8cec2d6b
Commit
8cec2d6b
authored
Dec 07, 2015
by
bobbyrullo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #205 from coreos/example-email
*: use example.com in place of coreos.com
parents
27a217fb
b14ce73f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
build-docker-push
build-docker-push
+1
-1
main.go
cmd/dex-worker/main.go
+1
-1
main.go
examples/emailtester/main.go
+1
-1
No files found.
build-docker-push
View file @
8cec2d6b
...
...
@@ -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
=
"d
ocker.login@coreos
.com"
$DOCKER_REGISTRY
docker login
--username
=
"
$DOCKER_USER
"
--password
=
"
$DOCKER_PASSWORD
"
--email
=
"d
ex@example
.com"
$DOCKER_REGISTRY
fi
git_sha
=
$(
git rev-parse HEAD
)
...
...
cmd/dex-worker/main.go
View file @
8cec2d6b
...
...
@@ -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"
)
...
...
examples/emailtester/main.go
View file @
8cec2d6b
...
...
@@ -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."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment