nextcloud/lib
Max f32dccd540 fix: always use display name from correct backend
Overwrite the display name after the account is initialized
when using an instacne of IGetDisplayNameBackend.

Before when using a variation of user_oidc and registering
a Backend.php implementing IGetDisplayNameBackend
the personal setting page shows 'uid'.

The UserManager/AccountManager seems not to use consistently
the correct backend.

The correct backend is used in this sequence:

server/lib/private/TemplateLayout.php

          $userDisplayName = \OC_User::getDisplayName();
          $this->assign(user_displayname, $userDisplayName);

In the settings page, it definitely not calls the registered backend,
but seems to fall back to default Backend and shows (usually) uid
or a value from the standard account property table.

Signed-off-by: Max <max@nextcloud.com>
2023-08-17 21:49:28 +00:00
..
composer allow anon text processing scheduling 2023-08-09 14:58:02 +02:00
l10n Fix(l10n): Update translations from Transifex 2023-08-17 00:33:58 +00:00
private fix: always use display name from correct backend 2023-08-17 21:49:28 +00:00
public feat: Add delete task API 2023-08-09 14:58:02 +02:00
autoloader.php Add a built-in profiler inside Nextcloud 2022-04-04 10:28:26 +02:00
base.php Fix psalm ci (stub). Wrap server container with try-catch 2023-08-11 01:37:01 +02:00
versioncheck.php Allow 8.2 in versioncheck 2023-02-02 12:05:20 +01:00