mirror of
https://github.com/jellyfin/jellyfin
synced 2024-10-14 11:43:08 +00:00
Add another null check
This commit is contained in:
parent
caf6833447
commit
9a853ca089
|
@ -38,6 +38,11 @@ namespace Jellyfin.Data.Entities
|
|||
throw new ArgumentNullException(nameof(authenticationProviderId));
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(passwordResetProviderId))
|
||||
{
|
||||
throw new ArgumentNullException(nameof(passwordResetProviderId));
|
||||
}
|
||||
|
||||
Username = username;
|
||||
AuthenticationProviderId = authenticationProviderId;
|
||||
PasswordResetProviderId = passwordResetProviderId;
|
||||
|
|
Loading…
Reference in a new issue