Decline VNC approval early when no console user is logged in

This commit is contained in:
Viktor Liu
2026-05-23 19:15:01 +02:00
parent 544ebb3575
commit bde5c6fdcc
4 changed files with 44 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
//go:build !darwin && !windows
package server
// consoleHasInteractiveUser is unused outside service mode (darwin/windows)
// but the symbol must exist so gateApproval compiles on all platforms.
func consoleHasInteractiveUser() bool { return true }