mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04: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));
|
throw new ArgumentNullException(nameof(authenticationProviderId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (string.IsNullOrEmpty(passwordResetProviderId))
|
||||||
|
{
|
||||||
|
throw new ArgumentNullException(nameof(passwordResetProviderId));
|
||||||
|
}
|
||||||
|
|
||||||
Username = username;
|
Username = username;
|
||||||
AuthenticationProviderId = authenticationProviderId;
|
AuthenticationProviderId = authenticationProviderId;
|
||||||
PasswordResetProviderId = passwordResetProviderId;
|
PasswordResetProviderId = passwordResetProviderId;
|
||||||
|
Loading…
Reference in New Issue
Block a user