Merge pull request #42459 from nextcloud/fix/dav/fallback-realm

This commit is contained in:
John Molakvoæ 2024-02-23 19:42:41 +01:00 committed by GitHub
commit db9fd9439e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ class LegacyPublicAuth extends AbstractBasic {
// setup realm
$defaults = new \OCP\Defaults();
$this->realm = $defaults->getName();
$this->realm = $defaults->getName() ?: 'Nextcloud';
}
/**

View file

@ -75,7 +75,7 @@ class Auth extends AbstractBasic {
// setup realm
$defaults = new \OCP\Defaults();
$this->realm = $defaults->getName();
$this->realm = $defaults->getName() ?: 'Nextcloud';
}
/**

View file

@ -47,7 +47,7 @@ class BearerAuth extends AbstractBearer {
// setup realm
$defaults = new \OCP\Defaults();
$this->realm = $defaults->getName();
$this->realm = $defaults->getName() ?: 'Nextcloud';
}
private function setupUserFs($userId) {