mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 22:17:19 +00:00
fix(gitlab): reload application secret after save
The secret was always stored encrypted, but the setup form wiped the input on every load. Load it back for admins (GitHub App parity) so a reload no longer looks like a failed save.
This commit is contained in:
1 parent
2450a32d6c
commit
e962b81c4e
3 files changed
+25
-4
No files matched your search
@@ -173,7 +173,9 @@ class Change extends Component
|
||||
$this->customUser = $this->gitlab_app->custom_user;
|
||||
$this->customPort = $this->gitlab_app->custom_port;
|
||||
$this->clientId = $this->gitlab_app->client_id;
|
||||
$this->clientSecretInput = null;
|
||||
// Decrypt and surface for authorized editors (same pattern as GitHub App client_secret).
|
||||
$this->gitlab_app->makeVisible(['client_secret', 'webhook_token', 'access_token', 'refresh_token']);
|
||||
$this->clientSecretInput = $this->gitlab_app->client_secret;
|
||||
$this->webhookToken = $this->gitlab_app->webhook_token;
|
||||
$this->groupName = $this->gitlab_app->group_name;
|
||||
$this->isSystemWide = $this->gitlab_app->is_system_wide;
|
||||
|
||||
Reference in new issue
Block a user