mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
日志数据库节点详情中密码使用星号(*)代替
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/db/dbnodeutils"
|
||||
"github.com/iwind/TeaGo/maps"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type NodeAction struct {
|
||||
@@ -33,7 +34,7 @@ func (this *NodeAction) RunGet(params struct {
|
||||
"host": node.Host,
|
||||
"port": node.Port,
|
||||
"username": node.Username,
|
||||
"password": node.Password,
|
||||
"password": strings.Repeat("*", len(node.Password)),
|
||||
"description": node.Description,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user