mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where a user could not authenticate using Azure CLI on OSX. Fixes #7632
This commit is contained in:
committed by
Akshay Joshi
parent
f2cc897f2f
commit
2de89dcaaf
@@ -49,3 +49,4 @@ Bug fixes
|
||||
| `Issue #7617 <https://redmine.postgresql.org/issues/7617>`_ - Fixed an issue where Azure cloud deployment failed.
|
||||
| `Issue #7625 <https://redmine.postgresql.org/issues/7625>`_ - Fixed Spanish translations typo.
|
||||
| `Issue #7630 <https://redmine.postgresql.org/issues/7630>`_ - Ensure that If the trigger function definition is changed, drop and recreate the trigger in the schema diff.
|
||||
| `Issue #7632 <https://redmine.postgresql.org/issues/7632>`_ - Fixed an issue where a user could not authenticate using Azure CLI on OSX.
|
||||
|
||||
@@ -70,6 +70,13 @@ function startDesktopMode() {
|
||||
misc.writeServerLog('pgAdmin Command: "' + command + '"');
|
||||
misc.writeServerLog('Environment: ');
|
||||
Object.keys(process.env).forEach(function(key) {
|
||||
// Below code is included only for Mac OS as default path for azure CLI
|
||||
// installation path is not included in PATH variable while spawning
|
||||
// runtime environment.
|
||||
if (platform() === 'darwin' && key === 'PATH') {
|
||||
let updated_path = process.env[key] + ':/usr/local/bin';
|
||||
process.env[key] = updated_path;
|
||||
}
|
||||
misc.writeServerLog(' - ' + key + ': ' + process.env[key]);
|
||||
});
|
||||
misc.writeServerLog('--------------------------------------------------------\n');
|
||||
|
||||
Reference in New Issue
Block a user