diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-04 17:05:15 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-10-09 15:44:56 +0200 |
commit | 7998afe8b380203ff2460abacae2ce47cb06487a (patch) | |
tree | 5c77b85f8835b361e25887b45dc4a2e156a5e580 /lib/base.php | |
parent | cad745b0d6145e90fde04994cf4c0256089d9331 (diff) | |
download | nextcloud-server-7998afe8b380203ff2460abacae2ce47cb06487a.tar.gz nextcloud-server-7998afe8b380203ff2460abacae2ce47cb06487a.zip |
Talk federation authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 461ff8997a2..af41b050f52 100644 --- a/lib/base.php +++ b/lib/base.php @@ -1132,6 +1132,9 @@ class OC { * Check login: apache auth, auth token, basic auth */ public static function handleLogin(OCP\IRequest $request): bool { + if ($request->getHeader('X-Nextcloud-Federation')) { + return false; + } $userSession = Server::get(\OC\User\Session::class); if (OC_User::handleApacheAuth()) { return true; |