aboutsummaryrefslogtreecommitdiff
path: root/core/https/user.go
diff options
context:
space:
mode:
authorGravatar Michael Richmond <mrichmon@users.noreply.github.com> 2016-04-28 11:07:44 -0700
committerGravatar Miek Gieben <miek@miek.nl> 2016-04-28 19:07:44 +0100
commite34280e7af517443a8f95e76247cf614c37fdbf6 (patch)
treef911eb03ff8e71d7f4c245e0694d3b47e2198734 /core/https/user.go
parentbba63f776518347f53697160fce638419c3fe813 (diff)
downloadcoredns-e34280e7af517443a8f95e76247cf614c37fdbf6.tar.gz
coredns-e34280e7af517443a8f95e76247cf614c37fdbf6.tar.zst
coredns-e34280e7af517443a8f95e76247cf614c37fdbf6.zip
Clean up remove caddy refs (#139)
* Changed reference to Caddy over to CoreDNS * Removing references to caddy * Fixed misleading error message to reference coredns * Cleaning up references to caddy * Adding clean and deps targets Muscle memory is resulting in "make clean" commands. * Adding test target to makefile * More "Caddy" cleanup
Diffstat (limited to 'core/https/user.go')
-rw-r--r--core/https/user.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/https/user.go b/core/https/user.go
index 13d93b1da..9c30c656c 100644
--- a/core/https/user.go
+++ b/core/https/user.go
@@ -121,14 +121,14 @@ func newUser(email string) (User, error) {
// input. If userPresent is false, the operator will
// NOT be prompted and an empty email may be returned.
func getEmail(cfg server.Config, userPresent bool) string {
- // First try the tls directive from the Caddyfile
+ // First try the tls directive from the Corefile
leEmail := cfg.TLS.LetsEncryptEmail
if leEmail == "" {
// Then try memory (command line flag or typed by user previously)
leEmail = DefaultEmail
}
if leEmail == "" {
- // Then try to get most recent user email ~/.caddy/users file
+ // Then try to get most recent user email ~/.coredns/users file
userDirs, err := ioutil.ReadDir(storage.Users())
if err == nil {
var mostRecent os.FileInfo