From 129866bb7604a00f7e1371c85487ed0a5779fd2c Mon Sep 17 00:00:00 2001 From: Derek Collison Date: Mon, 10 Sep 2018 15:32:26 -0700 Subject: [PATCH] Make warning style Signed-off-by: Derek Collison --- server/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/auth.go b/server/auth.go index 21acd9ba..b9125768 100644 --- a/server/auth.go +++ b/server/auth.go @@ -145,8 +145,8 @@ func (s *Server) checkAuthforWarnings() { } } if warn { - // Should be a warning but we currently do not have that option. - s.Errorf("Plaintext passwords detected. Use Nkeys or Bcrypt passwords in config files.") + // Warning about using plaintext passwords. + s.Warnf("Plaintext passwords detected. Use Nkeys or Bcrypt passwords in config files.") } }