Commit dc78d26f authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #25239 from owncloud/setupchecks-preventreload

Don't reload page in case of auth errors during setup checks
parents 29068d38 97f18136
...@@ -76,7 +76,8 @@ ...@@ -76,7 +76,8 @@
$.ajax({ $.ajax({
type: 'PROPFIND', type: 'PROPFIND',
url: url, url: url,
complete: afterCall complete: afterCall,
allowAuthErrors: true
}); });
return deferred.promise(); return deferred.promise();
}, },
...@@ -209,7 +210,8 @@ ...@@ -209,7 +210,8 @@
$.ajax({ $.ajax({
type: 'GET', type: 'GET',
url: OC.linkTo('', oc_dataURL+'/htaccesstest.txt?t=' + (new Date()).getTime()), url: OC.linkTo('', oc_dataURL+'/htaccesstest.txt?t=' + (new Date()).getTime()),
complete: afterCall complete: afterCall,
allowAuthErrors: true
}); });
return deferred.promise(); return deferred.promise();
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment