Merge pull request #43798 from nextcloud/backport/42459/stable27

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

View file

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

View file

@ -76,7 +76,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) {