Skip to content

Commit 620752f

Browse files
committed
Secure display testing
1 parent 02bde63 commit 620752f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/users/userrecord.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,10 +628,14 @@ func (u *UserRecord) GetOnlineInfo() OnlineInfo {
628628
// Check if connected through a secure telnet port
629629
port := connections.GetConnectionPort(u.connectionId)
630630
networkConfig := configs.GetNetworkConfig()
631+
632+
// Debug logging
633+
mudlog.Debug("Connection type check", "connectionId", u.connectionId, "port", port, "securePorts", networkConfig.SecureTelnetPort)
634+
631635
for _, securePortStr := range networkConfig.SecureTelnetPort {
632636
securePort, _ := strconv.Atoi(securePortStr)
633637
if securePort > 0 && port == securePort {
634-
connectionType = "Secure"
638+
connectionType = "TLS"
635639
break
636640
}
637641
}

0 commit comments

Comments
 (0)