diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-10 14:09:15 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-10 14:09:19 +0400 |
commit | 1823dafe448070137ce0ac06ff2731e87627c598 (patch) | |
tree | 0df69d94d8bad9779da31b3d84c817ad9a9b6ea2 | |
parent | 83403784d163411856e8ab6e711c319e36040f56 (diff) |
Remove checks before displaying login page
At that point the checks are already done before
-rwxr-xr-x | index.php | 4 |
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); } |