mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-23 21:47:14 -04:00
Add another null check
This commit is contained in:
parent
caf6833447
commit
9a853ca089
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue