Remove checks before displaying login page

At that point the checks are already done before
This commit is contained in:
Bart Visscher 2012-08-10 12:09:15 +02:00
parent 83403784d1
commit 1823dafe44
1 changed files with 1 additions and 3 deletions

View File

@ -42,7 +42,5 @@ if (!OC::handleRequest()) {
} elseif(OC::tryBasicAuthLogin()) {
$error = true;
}
if(!array_key_exists('sectoken', $_SESSION) || (array_key_exists('sectoken', $_SESSION) && is_null(OC::$REQUESTEDFILE)) || substr(OC::$REQUESTEDFILE, -3) == 'php'){
OC_Util::displayLoginPage($error);
}
OC_Util::displayLoginPage($error);
}