diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-10 10:41:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-10 10:41:46 +0200 |
commit | 67c3a974012770757ec63ef5257008fdb5902d37 (patch) | |
tree | 1fb08e17e48513337cd0c60d09ee513be508064c /apps/dav/lib/Connector/Sabre/Auth.php | |
parent | 6660488b735d42c6120e416d20279b448a5b1e1e (diff) | |
parent | cf06b17df15d6de83d2893cbe08880bbd9dd5c2c (diff) | |
download | nextcloud-server-67c3a974012770757ec63ef5257008fdb5902d37.tar.gz nextcloud-server-67c3a974012770757ec63ef5257008fdb5902d37.zip |
Merge pull request #25046 from owncloud/fix-the-realm
Use the correct realm for basic authentication
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 27900cc1cad..653da10bc3c 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(); } /** |