aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiService.cs
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-06 14:38:29 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-06 14:38:29 -0400
commit3538789e46d3332a2f20cd6b3db13b2aa9fbe475 (patch)
treec0c07f4912fc3c632ca38dc02053ff2108619b02 /MediaBrowser.Api/ApiService.cs
parenta529f07869f68918d07f607ca908f89f658236fb (diff)
Added User authentication
Diffstat (limited to 'MediaBrowser.Api/ApiService.cs')
-rw-r--r--MediaBrowser.Api/ApiService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs
index 5ff1b8949..c830b7efc 100644
--- a/MediaBrowser.Api/ApiService.cs
+++ b/MediaBrowser.Api/ApiService.cs
@@ -292,7 +292,8 @@ namespace MediaBrowser.Api
{
Id = user.Id,
Name = user.Name,
- HasImage = !string.IsNullOrEmpty(user.PrimaryImagePath)
+ HasImage = !string.IsNullOrEmpty(user.PrimaryImagePath),
+ HasPassword = !string.IsNullOrEmpty(user.Password)
};
}
}