diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-05-26 19:57:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 19:57:24 -0400 |
| commit | b33fa06efa1c7bf334bc0bcf7e845d86dffe12da (patch) | |
| tree | 9b70050001a0da905de5018a4cfafe827021d89d /MediaBrowser.Model | |
| parent | 9c00226f11ee6d99e3e8f83a3a531e70d743e6ba (diff) | |
| parent | 0be3dfe7c53d8c3bb43c28ea02c8a594bcb903b2 (diff) | |
Merge pull request #3187 from jellyfin/revert-2492-fix-api-private-data-leak
Revert "Fix emby/user/public API leaking sensitive data"
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/Dto/PublicUserDto.cs | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/MediaBrowser.Model/Dto/PublicUserDto.cs b/MediaBrowser.Model/Dto/PublicUserDto.cs deleted file mode 100644 index b6bfaf2e9..000000000 --- a/MediaBrowser.Model/Dto/PublicUserDto.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; - -namespace MediaBrowser.Model.Dto -{ - /// <summary> - /// Class PublicUserDto. Its goal is to show only public information about a user - /// </summary> - public class PublicUserDto : IItemDto - { - /// <summary> - /// Gets or sets the name. - /// </summary> - /// <value>The name.</value> - public string Name { get; set; } - - /// <summary> - /// Gets or sets the primary image tag. - /// </summary> - /// <value>The primary image tag.</value> - public string PrimaryImageTag { get; set; } - - /// <summary> - /// Gets or sets a value indicating whether this instance has password. - /// </summary> - /// <value><c>true</c> if this instance has password; otherwise, <c>false</c>.</value> - public bool HasPassword { get; set; } - - /// <summary> - /// Gets or sets a value indicating whether this instance has configured password. - /// Note that in this case this method should not be here, but it is necessary when changing password at the - /// first login. - /// </summary> - /// <value><c>true</c> if this instance has configured password; otherwise, <c>false</c>.</value> - public bool HasConfiguredPassword { get; set; } - - /// <summary> - /// Gets or sets the primary image aspect ratio. - /// </summary> - /// <value>The primary image aspect ratio.</value> - public double? PrimaryImageAspectRatio { get; set; } - - /// <inheritdoc /> - public override string ToString() - { - return Name ?? base.ToString(); - } - } -} |
