aboutsummaryrefslogtreecommitdiff
path: root/core/https/user.go
diff options
context:
space:
mode:
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