mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
Fix duplicate permissions
This commit is contained in:
@@ -190,6 +190,9 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
InternalId = max + 1
|
||||
};
|
||||
|
||||
user.AddDefaultPermissions();
|
||||
user.AddDefaultPreferences();
|
||||
|
||||
_users.Add(user.Id, user);
|
||||
|
||||
return user;
|
||||
|
||||
Reference in New Issue
Block a user