desktop
All checks were successful
Deploy / deploy-staging (push) Successful in 23s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-17 22:11:44 +02:00
parent 8e2c12d9cb
commit 4aeecc9faa
4 changed files with 550 additions and 25 deletions

View File

@@ -39,6 +39,9 @@ final class App
$windows = (new WindowManager($registry))->defaultWindows();
$activeWidgetIds = DesktopState::defaultWidgetIds();
$displayName = (string) ($authUser['name'] ?? $authUser['username'] ?? 'Gast');
$storageScope = $isAuthenticated
? strtolower((string) ($authUser['username'] ?? $authUser['sub'] ?? 'user'))
: 'guest';
return [
'meta' => [
@@ -51,7 +54,7 @@ final class App
'desktop' => [
'greeting' => 'Neue Desktop-Shell fuer Kusche.Berlin',
'wallpaper' => SkinResolver::wallpaper($activeSkin),
'storage_scope' => 'guest',
'storage_scope' => preg_replace('/[^a-z0-9._-]+/i', '-', $storageScope) ?: 'guest',
'workspace' => DesktopState::defaultWorkspace(),
'login' => [
'authenticated' => $isAuthenticated,