mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04: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…
x
Reference in New Issue
Block a user