mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Properly remove profile images
This commit is contained in:
parent
f051590f14
commit
67f39ed54f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user