The Free Software Media System - Server Backend & API
Apparently strings can't be !'d
Joshua Bonifaceeaa1ac80133e
diff --git a/MediaBrowser.Api/UserService.cs b/MediaBrowser.Api/UserService.csindex 0db62098ca..119c423e60 100644--- a/MediaBrowser.Api/UserService.cs+++ b/MediaBrowser.Api/UserService.cs@@ -379,7 +379,7 @@ namespace MediaBrowser.Apithrow new ResourceNotFoundException("User not found");}- if (!request.Pw)+ if (request.Pw == ""){throw new MethodNotAllowedException("Hashed-only passwords are not valid for this API.");}