Don't reload page in case of auth errors during setup checks

If an error occurs during setup checks, do not let the global ajax
error handler reload the page.
This commit is contained in:
Vincent Petry 2016-06-23 11:54:49 +02:00
parent af98e3e641
commit 97f1813695
No known key found for this signature in database
GPG key ID: AF8F9EFC56562186

View file

@ -76,7 +76,8 @@
$.ajax({
type: 'PROPFIND',
url: url,
complete: afterCall
complete: afterCall,
allowAuthErrors: true
});
return deferred.promise();
},
@ -209,7 +210,8 @@
$.ajax({
type: 'GET',
url: OC.linkTo('', oc_dataURL+'/htaccesstest.txt?t=' + (new Date()).getTime()),
complete: afterCall
complete: afterCall,
allowAuthErrors: true
});
return deferred.promise();
},