Log authentication enabled message
parent
29570ba563
commit
20de2bc914
|
@ -38,6 +38,8 @@ func NewService(c Config) *Service {
|
|||
|
||||
// Open starts the service
|
||||
func (s *Service) Open() error {
|
||||
s.Logger.Println("authentication enabled:", s.Handler.requireAuthentication)
|
||||
|
||||
// Open listener.
|
||||
ln, err := net.Listen("tcp", s.addr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue