Merge pull request #11225 from owncloud/showLoginAgainInsteadOfJSON

Show login again instead of JSON if CSRF check fails
remotes/origin/fix-10825
Thomas Müller 12 years ago
commit 17f97ea2ca
  1. 4
      lib/base.php

@ -921,7 +921,9 @@ class OC {
return false;
}
OC_JSON::callCheck();
if(!OC_Util::isCallRegistered()) {
return false;
}
OC_App::loadApps();
//setup extra user backends

Loading…
Cancel
Save