diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-06-09 13:53:32 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-06-09 13:53:32 +0200 |
commit | cf06b17df15d6de83d2893cbe08880bbd9dd5c2c (patch) | |
tree | 66625ac7e1bc1e496f6615f4612ffe58ef02f00c /apps/dav/lib/Connector/Sabre/Auth.php | |
parent | 90c1ec1c49798232c0c1303ccbddacac536b5768 (diff) | |
download | nextcloud-server-cf06b17df15d6de83d2893cbe08880bbd9dd5c2c.tar.gz nextcloud-server-cf06b17df15d6de83d2893cbe08880bbd9dd5c2c.zip |
Use the correct realm for basic authentication - fixes #23427
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/Auth.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Auth.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Auth.php b/apps/dav/lib/Connector/Sabre/Auth.php index 7b959a0d899..a0e4b2231af 100644 --- a/apps/dav/lib/Connector/Sabre/Auth.php +++ b/apps/dav/lib/Connector/Sabre/Auth.php @@ -74,6 +74,10 @@ class Auth extends AbstractBasic { $this->twoFactorManager = $twoFactorManager; $this->request = $request; $this->principalPrefix = $principalPrefix; + + // setup realm + $defaults = new \OC_Defaults(); + $this->realm = $defaults->getName(); } /** |