Ensure that while connecting to the server using SSPI login, it should not prompt for the password. Fixes #5776

This commit is contained in:
Khushboo Vashi
2021-05-05 11:40:48 +05:30
committed by Akshay Joshi
parent 649ca2eeac
commit b30ec71098
8 changed files with 39 additions and 10 deletions

View File

@@ -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) {