Merge pull request #109 from MisonL/feature/newapi-token-validation

fix: validate NEWAPI token input across UI and API
This commit is contained in:
演变
2026-03-27 19:11:23 +08:00
committed by GitHub
7 changed files with 317 additions and 8 deletions

View File

@@ -496,6 +496,7 @@ MyProxy|socks5://user:pass@host:port"></textarea>
<div class="form-group">
<label for="newapi-service-key">Root Token / API Key *</label>
<input type="password" id="newapi-service-key" placeholder="编辑时留空则保持原值" autocomplete="new-password">
<p class="hint">仅支持 ASCII 字符,请直接粘贴系统访问令牌,不要填写中文说明。</p>
</div>
<div class="form-row">
<div class="form-group">