diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-05-26 12:14:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 12:14:40 -0400 |
| commit | 0be3dfe7c53d8c3bb43c28ea02c8a594bcb903b2 (patch) | |
| tree | 23177b8121dde236e129566d655c36806fb960a5 /MediaBrowser.Model | |
| parent | 976ae36bea0768f0e363bf0c5091b0853cc81c4d (diff) | |
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(); - } - } -} |
