diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-07-08 11:14:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 11:14:11 +0200 |
commit | 59d6b370ee743ba5a7c0b4797977c4c4cd008ee7 (patch) | |
tree | bab2e752d7c6042f0c95e20f509bb090093c0924 /apps/dashboard | |
parent | b94a1f7f298bab4b67ba37e65d6d62449798ba2a (diff) | |
parent | 0526c6b9331b15e6d097a48ceedd5c14dc914713 (diff) | |
download | nextcloud-server-59d6b370ee743ba5a7c0b4797977c4c4cd008ee7.tar.gz nextcloud-server-59d6b370ee743ba5a7c0b4797977c4c4cd008ee7.zip |
Merge pull request #46010 from nextcloud/bugfix/noid/allow-guests-to-load-the-dashboard
fix(dashboard): Correctly redirect guests to login page when opening dashboard
Diffstat (limited to 'apps/dashboard')
-rw-r--r-- | apps/dashboard/lib/Service/DashboardService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dashboard/lib/Service/DashboardService.php b/apps/dashboard/lib/Service/DashboardService.php index 041d4a5c772..a311caf5d48 100644 --- a/apps/dashboard/lib/Service/DashboardService.php +++ b/apps/dashboard/lib/Service/DashboardService.php @@ -14,7 +14,7 @@ use OCP\IConfig; class DashboardService { public function __construct( private IConfig $config, - private String $userId, + private ?string $userId, ) { } |