Add another null check

pull/3423/head
Patrick Barron 4 years ago
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…
Cancel
Save