(js) Improve CAS handling

Fixes #4468
pull/249/head
Francis Lachapelle 2019-01-31 11:12:03 -05:00
parent b30d2e0e00
commit 368c13d6b0
1 changed files with 2 additions and 2 deletions

View File

@ -330,9 +330,9 @@
});
}, 500); // Wait before replaying the request
}
document.body.appendChild(iframe[0]);
return deferred.promise;
});
document.body.appendChild(iframe[0]);
return deferred.promise;
}
else if ($window.usesSAML2Authentication && rejection.status == 401 && !$window.recovered) {
angular.element($window).off('beforeunload');