mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 13:31:14 -05:00
Merge pull request #42459 from nextcloud/fix/dav/fallback-realm
This commit is contained in:
commit
db9fd9439e
3 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ class LegacyPublicAuth extends AbstractBasic {
|
|||
|
||||
// setup realm
|
||||
$defaults = new \OCP\Defaults();
|
||||
$this->realm = $defaults->getName();
|
||||
$this->realm = $defaults->getName() ?: 'Nextcloud';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ class Auth extends AbstractBasic {
|
|||
|
||||
// setup realm
|
||||
$defaults = new \OCP\Defaults();
|
||||
$this->realm = $defaults->getName();
|
||||
$this->realm = $defaults->getName() ?: 'Nextcloud';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue