fixup - Code review changes.
This commit is contained in:
parent
bf9517fdaa
commit
d3d6a75b91
2 changed files with 3 additions and 3 deletions
|
@ -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", true, "Allows users to self-register")
|
||||
enableRegistration := fs.Bool("enable-registration", false, "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")
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue