mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-25 06:58:40 +02:00
Apparently strings can't be !'d
This commit is contained in:
parent
ca3bb308b3
commit
eaa1ac8013
|
@ -379,7 +379,7 @@ namespace MediaBrowser.Api
|
|||
throw new ResourceNotFoundException("User not found");
|
||||
}
|
||||
|
||||
if (!request.Pw)
|
||||
if (request.Pw == "")
|
||||
{
|
||||
throw new MethodNotAllowedException("Hashed-only passwords are not valid for this API.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue