feat(welcome): display nocodb user token on welcome page

This commit is contained in:
Yury Kossakovsky
2025-12-26 09:38:27 -07:00
parent 9b252a1287
commit 0e1d0f475b
2 changed files with 5 additions and 1 deletions

View File

@@ -183,7 +183,8 @@ if is_profile_active "nocodb"; then
SERVICES_ARRAY+=(" \"nocodb\": {
\"hostname\": \"$(json_escape "$NOCODB_HOSTNAME")\",
\"credentials\": {
\"note\": \"Create your account on first login\"
\"note\": \"Create your account on first login\",
\"user_token\": \"$(json_escape "$NOCODB_JWT_SECRET")\"
},
\"extra\": {
\"internal_api\": \"http://nocodb:8080\",

View File

@@ -676,6 +676,9 @@
if (creds.api_key) {
section.appendChild(createCredentialRow('API Key', creds.api_key, true));
}
if (creds.user_token) {
section.appendChild(createCredentialRow('User Token', creds.user_token, true));
}
}
// Add extra fields (skip internal_api/internal_url - shown in header)