mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 06:13:05 +00:00
feat(welcome): display nocodb user token on welcome page
This commit is contained in:
@@ -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\",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user