Skip to content

Commit

Permalink
Revert "Add config flag"
Browse files Browse the repository at this point in the history
This reverts commit 0471bbd.
  • Loading branch information
CarlSchwan committed Feb 4, 2022
1 parent 8b1eed7 commit 55dd770
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,7 @@ private static function printUpgradePage(\OC\SystemConfig $systemConfig) {
}

public static function initSession() {
$basicAuthCookieUsage = self::$server->getConfig()->getSystemValueBool('auth.basic.cookies', true);

if ($basicAuthCookieUsage === false && self::$server->getRequest()->getHeader('Authorization') !== '') {
if (self::$server->getRequest()->getHeader('Authorization') !== '') {
// Do not initialize the session if a request is authenticated directly
return;
}
Expand Down

0 comments on commit 55dd770

Please sign in to comment.