fixup - Code review changes.

This commit is contained in:
Bobby Rullo 2015-09-30 17:07:00 -07:00
parent bf9517fdaa
commit d3d6a75b91
2 changed files with 3 additions and 3 deletions

View file

@ -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")

View file

@ -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