mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that while connecting to the server using SSPI login, it should not prompt for the password. Fixes #5776
This commit is contained in:
committed by
Akshay Joshi
parent
649ca2eeac
commit
b30ec71098
@@ -169,7 +169,7 @@ export class BackupDialogWrapper extends DialogWrapper {
|
||||
this.setExtraParameters(selectedTreeNode, treeInfo);
|
||||
let backupDate = this.view.model.toJSON();
|
||||
|
||||
if(userInfo['auth_sources'] == 'KERBEROS' && (backupDate.type == 'globals' || backupDate.type == 'server')) {
|
||||
if(userInfo['current_auth_source'] == 'KERBEROS' && (backupDate.type == 'globals' || backupDate.type == 'server')) {
|
||||
let newPromise = fetch_ticket_lifetime();
|
||||
newPromise.then(
|
||||
function(lifetime) {
|
||||
|
||||
Reference in New Issue
Block a user