mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 14:28:46 +01:00
sync updates
This commit is contained in:
@@ -669,11 +669,6 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
throw new ArgumentNullException("newPasswordSha1");
|
||||
}
|
||||
|
||||
if (user.ConnectLinkType.HasValue && user.ConnectLinkType.Value == UserLinkType.Guest)
|
||||
{
|
||||
throw new ArgumentException("Passwords for guests cannot be changed.");
|
||||
}
|
||||
|
||||
user.EasyPassword = newPasswordSha1;
|
||||
|
||||
await UpdateUser(user).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user