Remove checks before displaying login page
At that point the checks are already done before
This commit is contained in:
parent
83403784d1
commit
1823dafe44
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue