mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-09 12:50:59 +00:00
fix(nodes): make node API tokens write-only (#5613)
* fix(nodes): make node API tokens write-only * fix(nodes): keep token optional on edit for write-only API tokens NodeView no longer returns apiToken, so the edit form must consume hasApiToken and not require re-entering the token. Relaxes the form validation on edit, adds a keep-current placeholder, and adds the i18n key to all 13 locales.
This commit is contained in:
@@ -78,6 +78,8 @@ func run(root, outDir string) error {
|
||||
Path: resolveRel(root, "internal/web/service"),
|
||||
StructAllow: setOf(
|
||||
"InboundOption",
|
||||
"NodeMutationRequest",
|
||||
"NodeView",
|
||||
"ProbeResultUI",
|
||||
"RealityScanResult",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user