ipn/ipnserver: remove "Server mode" from a user-visible error message
That's an internal nickname.
This commit is contained in:
parent
cc3259f8d9
commit
f3aa08de76
|
@ -285,7 +285,7 @@ func (s *server) addConn(c net.Conn, isHTTP bool) (ci connIdentity, err error) {
|
|||
}
|
||||
if su := s.serverModeUser; su != nil && ci.UserID != su.Uid {
|
||||
//lint:ignore ST1005 we want to capitalize Tailscale here
|
||||
return ci, fmt.Errorf("Tailscale running in server mode as %s. Access denied.", su.Username)
|
||||
return ci, fmt.Errorf("Tailscale running as %s. Access denied.", su.Username)
|
||||
}
|
||||
|
||||
if !isHTTP {
|
||||
|
|
Loading…
Reference in New Issue