chrome 59+ doesn't support inline basic auth credentials
This commit is contained in:
parent
1cc5fcb5ba
commit
70ab099e2f
|
@ -50,10 +50,15 @@ checkLocalStorage();
|
|||
window.loggedIn = iterateRecursiveReplaceHtmlSpecialChars(window.loggedIn);
|
||||
|
||||
// hack to supress basic auth popup, e.g. if the user has to tabs open and
|
||||
// log out in one of them. but microsoft browsers doesn't support this
|
||||
if(typeof bowser.msie == 'undefined' && typeof bowser.msedge == 'undefined') {
|
||||
// log out in one of them. but microsoft browsers and chrome 59+ doesn't support this
|
||||
if(typeof bowser != 'undefined') {
|
||||
var bowserIntVersion = parseInt(bowser.version,10);
|
||||
if(typeof bowser.msie == 'undefined'
|
||||
&& typeof bowser.msedge == 'undefined'
|
||||
&& !(typeof bowser.chrome != 'undefined' && bowser.chrome === true && bowserIntVersion <= 59)) {
|
||||
window.apiRoot = window.apiRoot.replace('://','://x:x@');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ·
|
||||
|
|
Loading…
Reference in New Issue
Block a user