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
d3d6a75b
Commit
d3d6a75b
authored
Oct 01, 2015
by
Bobby Rullo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup - Code review changes.
parent
bf9517fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main.go
cmd/dex-worker/main.go
+1
-1
config.go
server/config.go
+2
-2
No files found.
cmd/dex-worker/main.go
View file @
d3d6a75b
...
...
@@ -44,7 +44,7 @@ func main() {
emailFrom
:=
fs
.
String
(
"email-from"
,
"no-reply@coreos.com"
,
"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"
,
tru
e
,
"Allows users to self-register"
)
enableRegistration
:=
fs
.
Bool
(
"enable-registration"
,
fals
e
,
"Allows users to self-register"
)
noDB
:=
fs
.
Bool
(
"no-db"
,
false
,
"manage entities in-process w/o any encryption, used only for single-node testing"
)
...
...
server/config.go
View file @
d3d6a75b
...
...
@@ -186,8 +186,8 @@ func (cfg *MultiServerConfig) Configure(srv *Server) error {
return
nil
}
func
getTemplates
(
issuerName
,
issuerLogoURL
string
,
enableRegister
bool
,
dir
string
)
(
*
template
.
Template
,
error
)
{
func
getTemplates
(
issuerName
,
issuerLogoURL
string
,
enableRegister
bool
,
dir
string
)
(
*
template
.
Template
,
error
)
{
tpl
:=
template
.
New
(
""
)
.
Funcs
(
map
[
string
]
interface
{}{
"issuerName"
:
func
()
string
{
return
issuerName
...
...
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