Unverified Commit 97f18136 authored by Vincent Petry's avatar Vincent Petry
Browse files

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.
parent af98e3e6
......@@ -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();
},
......
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