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