Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-10 14:09:15 +0400
committerBart Visscher <bartv@thisnet.nl>2012-08-10 14:09:19 +0400
commit1823dafe448070137ce0ac06ff2731e87627c598 (patch)
tree0df69d94d8bad9779da31b3d84c817ad9a9b6ea2 /index.php
parent83403784d163411856e8ab6e711c319e36040f56 (diff)
Remove checks before displaying login page
At that point the checks are already done before
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.php b/index.php
index 86d268bf285..12a4d4918df 100755
--- a/index.php
+++ b/index.php
@@ -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);
}