nextcloud/lib
Max 99a4a9cd09 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-15 14:55:03 +02:00
..
composer allow anon text processing scheduling 2023-08-07 13:27:53 +02:00
l10n Fix(l10n): Update translations from Transifex 2023-08-14 00:25:59 +00:00
private fix: always use display name from correct backend 2023-08-15 14:55:03 +02:00
public Allow "wasm-unsafe-eval" in CSP 2023-08-10 02:38:41 +02:00
autoloader.php Add a built-in profiler inside Nextcloud 2022-04-04 10:28:26 +02:00
base.php Merge branch 'master' into appecosystem-auth 2023-08-10 17:21:35 +03:00
versioncheck.php Allow 8.2 in versioncheck 2023-02-02 12:05:20 +01:00