Fixed startup user renaming

This commit is contained in:
JPVenson
2026-05-23 15:15:09 +00:00
parent 620b7a2495
commit c4fb0285fc

View File

@@ -144,7 +144,7 @@ public class StartupController : BaseJellyfinApiController
if (startupUserDto.Name is not null)
{
user.Username = startupUserDto.Name;
await _userManager.RenameUser(user.Id, user.Username, startupUserDto.Name).ConfigureAwait(false);
}
await _userManager.UpdateUserAsync(user).ConfigureAwait(false);