mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
Properly remove profile images
This commit is contained in:
@@ -724,6 +724,7 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
using var dbContext = _dbProvider.CreateContext();
|
||||
dbContext.Remove(user.ProfileImage);
|
||||
dbContext.SaveChanges();
|
||||
user.ProfileImage = null;
|
||||
}
|
||||
|
||||
private static bool IsValidUsername(string name)
|
||||
|
||||
Reference in New Issue
Block a user