ipn/ipnserver: remove "Server mode" from a user-visible error message

That's an internal nickname.
pull/888/head
Brad Fitzpatrick 4 years ago
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…
Cancel
Save